Skip to content

Commit 5f85655

Browse files
authored
docs(private-regs): change example region to a replace-me token (#1264)
1 parent ae33e77 commit 5f85655

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/private-registries.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,18 +145,18 @@ in a volume that may be mounted onto your watchtower container.
145145
```
146146

147147
3. Create a configuration file for docker, and store it in $HOME/.docker/config.json (replace the <AWS_ACCOUNT_ID>
148-
placeholders with your AWS Account ID):
148+
placeholders with your AWS Account ID and <AWS_ECR_REGION> with your AWS ECR Region):
149149
```json
150150
{
151151
"credsStore" : "ecr-login",
152152
"HttpHeaders" : {
153153
"User-Agent" : "Docker-Client/19.03.1 (XXXXXX)"
154154
},
155155
"auths" : {
156-
"<AWS_ACCOUNT_ID>.dkr.ecr.us-west-1.amazonaws.com" : {}
156+
"<AWS_ACCOUNT_ID>.dkr.ecr.<AWS_ECR_REGION>.amazonaws.com" : {}
157157
},
158158
"credHelpers": {
159-
"<AWS_ACCOUNT_ID>.dkr.ecr.us-west-1.amazonaws.com" : "ecr-login"
159+
"<AWS_ACCOUNT_ID>.dkr.ecr.<AWS_ECR_REGION>.amazonaws.com" : "ecr-login"
160160
}
161161
}
162162
```

0 commit comments

Comments
 (0)