Open kishormishra1 opened 1 year ago
aws --region us-east-1 ecr get-login-password | docker login -u AWS --password-stdin accountid.dkr.ecr.us-east-1.amazonaws.com
It gives the following error. Error response from daemon: Get "https://828148306595.dkr.ecr.us-east-1.amazonaws.com/v2/": EOF
Please help me in clearing this issue. I tried the same command in powershell also. But the output is same.
(Get-ECRLoginCommand).Password | docker login --username AWS --password-stdin 828148306595.dkr.ecr.us-east-1.amazonaws.com
aws --version output aws-cli/2.9.15 Python/3.9.11 Windows/10 exe/AMD64 prompt/off
Powershell version output is given below. $PSVersionTable.PSVersion With the command, 'aws --region us-east-1 ecr get-login-password' i can get the credential, but when i use the same either using pipe method and --pawword-stdin or passing the password with a variable, does not change the result. Please help me what is going wrong for me.
Describe the bug
To reproduce
Expected behavior
Screenshots
Your Environment
Additional context