Difference between revisions of "Aws ecr get-login-password"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
* <code>[[aws ecr]] get-login-password</code> ([https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ecr/get-login-password.html ref])
 
* <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
 
  aws ecr get-login-password | [[docker login]] --username AWS --password-stdin [[YOUR_ACCOUNT_ID]].[[dkr.ecr]].[[eu-central-1]].amazonaws.com
 
  Login Succeeded
 
  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
 
  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
Line 11: Line 11:
 
== Errors ==
 
== Errors ==
 
* <code>[[Error response from daemon: Bad response from Docker engine]]</code>
 
* <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 ==
 
== Related ==
Line 17: Line 19:
 
* <code>[[aws ecr get-login]]</code>
 
* <code>[[aws ecr get-login]]</code>
 
* <code>[[docker push]]</code>
 
* <code>[[docker push]]</code>
* [[AWS_REGION]]
+
* [[aws configure get region]], [[AWS_REGION]]
 +
* [[dkr.ecr]]
  
 
== See also ==
 
== See also ==

Latest revision as of 12:35, 10 October 2024

Advertising: