-
Notifications
You must be signed in to change notification settings - Fork 88
cdk deploy error #188
Comments
Can you successfully run this command? docker pull public.ecr.aws/amazonlinux/amazonlinux:latest If you encounter the following error
You may need docker login to authenticate against the ecr-public like aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/amazonlinux |
Your advice was so helpful for me. |
WHY a public ECR repo requires LOGIN for a PULL operation? |
$docker pull public.ecr.aws/amazonlinux/amazonlinux:latest |
You do not need to be logged in for the pull; however, if you have previously been logged in for pushing, the docker client will attempt to use your now expired authentication token because it's the same registry. The same thing happens with the official Docker Hub registry. If I've logged on previously, it will try to use my existing login even if I try to pull a public image and my IP has enough anonymous pulls left. |
cdk deploy commands didn't work well
I searched "unexpected status code [manifests latest]: 403 Forbidden".
So I found that should re-authenticating private ECR registry auth token.
But in my case, it doesn't effect.
Does anybody has same issues?
The text was updated successfully, but these errors were encountered: