Skip to content

Commit

Permalink
docs(private-regs): change example region to a replace-me token (#1264)
Browse files Browse the repository at this point in the history
  • Loading branch information
frinzekt committed Jul 19, 2022
1 parent ae33e77 commit 5f85655
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/private-registries.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,18 +145,18 @@ in a volume that may be mounted onto your watchtower container.
```

3. Create a configuration file for docker, and store it in $HOME/.docker/config.json (replace the <AWS_ACCOUNT_ID>
placeholders with your AWS Account ID):
placeholders with your AWS Account ID and <AWS_ECR_REGION> with your AWS ECR Region):
```json
{
"credsStore" : "ecr-login",
"HttpHeaders" : {
"User-Agent" : "Docker-Client/19.03.1 (XXXXXX)"
},
"auths" : {
"<AWS_ACCOUNT_ID>.dkr.ecr.us-west-1.amazonaws.com" : {}
"<AWS_ACCOUNT_ID>.dkr.ecr.<AWS_ECR_REGION>.amazonaws.com" : {}
},
"credHelpers": {
"<AWS_ACCOUNT_ID>.dkr.ecr.us-west-1.amazonaws.com" : "ecr-login"
"<AWS_ACCOUNT_ID>.dkr.ecr.<AWS_ECR_REGION>.amazonaws.com" : "ecr-login"
}
}
```
Expand Down

0 comments on commit 5f85655

Please sign in to comment.