aws ecr get-login-password
Jump to navigation
Jump to search
Contents
Example
aws ecr get-login-password | docker login --username AWS --password-stdin YOUR_ACCOUNT_ID.dkr.ecr.eu-central-1.amazonaws.com Login Succeeded
aws ecr get-login-password --region eu-central-1 | docker login --username AWS --password-stdin YOUR_ACCOUNT_ID.dkr.ecr.eu-central-1.amazonaws.com Login Succeeded
Errors
Error response from daemon: Bad response from Docker engine
- Unable to locate credentials. You can configure credentials by running "aws configure".
- Error: Cannot perform an interactive login from a non TTY device
Related
aws sts get-caller-identity
docker login
aws ecr get-login
docker push
- aws configure get region, AWS_REGION
- dkr.ecr
See also
Advertising: