From 5f8565570c71d74d99dc24411218f6bb00aaf36d Mon Sep 17 00:00:00 2001 From: Frinze Erin Lapuz <44391389+frinzekt@users.noreply.github.com> Date: Tue, 19 Jul 2022 19:30:25 +0800 Subject: [PATCH] docs(private-regs): change example region to a replace-me token (#1264) --- docs/private-registries.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/private-registries.md b/docs/private-registries.md index 94f9a81c8..ee4ed4103 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" } } ```