docs(private-regs): change example region to a replace-me token (#1264)

pull/1326/head
Frinze Erin Lapuz 2 years ago committed by GitHub
parent ae33e77de5
commit 5f8565570c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -145,7 +145,7 @@ 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> 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 ```json
{ {
"credsStore" : "ecr-login", "credsStore" : "ecr-login",
@ -153,10 +153,10 @@ in a volume that may be mounted onto your watchtower container.
"User-Agent" : "Docker-Client/19.03.1 (XXXXXX)" "User-Agent" : "Docker-Client/19.03.1 (XXXXXX)"
}, },
"auths" : { "auths" : {
"<AWS_ACCOUNT_ID>.dkr.ecr.us-west-1.amazonaws.com" : {} "<AWS_ACCOUNT_ID>.dkr.ecr.<AWS_ECR_REGION>.amazonaws.com" : {}
}, },
"credHelpers": { "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"
} }
} }
``` ```

Loading…
Cancel
Save