Skip to content

Commit

Permalink
Update docker.mdx (#8913)
Browse files Browse the repository at this point in the history
  • Loading branch information
angrycub authored Oct 2, 2020
1 parent eb7cc64 commit 4a75028
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/pages/docs/drivers/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ task "example" {
```

Example docker-config, using two helper scripts in \$PATH,
"docker-credential-ecr" and "docker-credential-vault":
"docker-credential-ecr-login" and "docker-credential-vault":

```json
{
Expand All @@ -504,7 +504,7 @@ Example docker-config, using two helper scripts in \$PATH,
}
```

Example agent configuration, using a helper script "docker-credential-ecr" in
Example agent configuration, using a helper script "docker-credential-ecr-login" in
\$PATH

```hcl
Expand All @@ -517,7 +517,7 @@ plugin "docker" {
auth {
# Nomad will prepend "docker-credential-" to the helper value and call
# that script name.
helper = "ecr"
helper = "ecr-login"
}
}
}
Expand Down Expand Up @@ -691,7 +691,7 @@ plugin "docker" {
auth {
config = "/etc/docker-auth.json"
helper = "docker-credential-aws"
helper = "ecr-login"
}
tls {
Expand Down

0 comments on commit 4a75028

Please sign in to comment.