Difference between revisions of "Aws ecr get-login-password"
Jump to navigation
Jump to search
(Created page with "{{lowercase}} == See also == * {{aws ecr}} Category:AWS Category:Registry") |
(→Errors) |
||
(24 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
+ | * <code>[[aws ecr]] get-login-password</code> ([https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecr/get-login-password.html ref]) | ||
+ | == 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 == | ||
+ | * <code>[[Error response from daemon: Bad response from Docker engine]]</code> | ||
+ | * [[Unable to locate credentials. You can configure credentials by running "aws configure".]] | ||
+ | * [[Error: Cannot perform an interactive login from a non TTY device]] | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[aws sts get-caller-identity]]</code> | ||
+ | * <code>[[docker login]]</code> | ||
+ | * <code>[[aws ecr get-login]]</code> | ||
+ | * <code>[[docker push]]</code> | ||
+ | * [[aws configure get region]], [[AWS_REGION]] | ||
+ | * [[dkr.ecr]] | ||
== See also == | == See also == | ||
+ | * {{aws ecr get-login-password}} | ||
+ | * {{docker push}} | ||
* {{aws ecr}} | * {{aws ecr}} | ||
− | |||
[[Category:AWS]] | [[Category:AWS]] | ||
[[Category:Registry]] | [[Category:Registry]] |
Latest revision as of 12:35, 10 October 2024
Contents
Example[edit]
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[edit]
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[edit]
aws sts get-caller-identity
docker login
aws ecr get-login
docker push
- aws configure get region, AWS_REGION
- dkr.ecr
See also[edit]
Advertising: