- 최신
- 최다 투표
- 가장 많은 댓글
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?