diff --git a/docs/private-registries.md b/docs/private-registries.md index 94f9a81..ee4ed41 100644 --- a/docs/private-registries.md +++ b/docs/private-registries.md @@ -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 - placeholders with your AWS Account ID): + placeholders with your AWS Account ID and with your AWS ECR Region): ```json { "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)" }, "auths" : { - ".dkr.ecr.us-west-1.amazonaws.com" : {} + ".dkr.ecr..amazonaws.com" : {} }, "credHelpers": { - ".dkr.ecr.us-west-1.amazonaws.com" : "ecr-login" + ".dkr.ecr..amazonaws.com" : "ecr-login" } } ```