- 新しい順
- 投票が多い順
- コメントが多い順
Try this:
Go to C:\Users\your_username\.docker\config.json.
And delete "credsStore": "desktop"
Yes this solution works in windows 10 along with aws configure sso and its profile-name using below sample
aws ecr-public get-login-password --region us-east-1 --profile aws-cli | docker login --username AWS --password-stdin public.ecr.aws/XXXXXXXXX
This worked wonderfully. Thank you.
Which commands do you use to push to ECR?
I am using the below push command for public ECR:
aws ecr-public get-login-password --region <region> | docker login --username AWS --password-stdin <public repo URI> docker build -t <public repo name> . docker tag <public repo>:<tag> <public repo URI>:<tag> docker push <public repo URI>:<tag>
I am getting the above issue on the login command- aws ecr-public get-login-password --region <region> | docker login --username AWS --password-stdin <public repo URI>
Hi, if you are running on Window Machine you are probably experience the issue reported here
https://github.com/aws/aws-cli/issues/5636
There are few workaround available listed in the thread but unfortunately not a final solution
関連するコンテンツ
- AWS公式更新しました 7ヶ月前
- AWS公式更新しました 2年前
Is it windows machine?