mirror of
https://github.com/containrrr/watchtower.git
synced 2025-04-23 11:48:43 +02:00
docs(private-regs): change example region to a replace-me token (#1264)
This commit is contained in:
parent
ae33e77de5
commit
5f8565570c
@ -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…
x
Reference in New Issue
Block a user