Difference between revisions of "Docker login"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
* <code>docker login localhost:8080</code>
 
* <code>docker login localhost:8080</code>
 
* <code>[[aws ecr get-login-password]] --region YOUR_REGIOM | [[docker login]] --username YOUR_USERNAME --password-stdin YOUR_ACCOUNT_ID.[[dkr.ecr]].YOUR_REGION.amazonaws.com</code>
 
* <code>[[aws ecr get-login-password]] --region YOUR_REGIOM | [[docker login]] --username YOUR_USERNAME --password-stdin YOUR_ACCOUNT_ID.[[dkr.ecr]].YOUR_REGION.amazonaws.com</code>
 +
 +
 +
 +
Login Succeeded
  
 
== Errors ==
 
== Errors ==

Revision as of 13:25, 17 July 2024

Examples


Login Succeeded

Errors

 Error response from daemon: pull access denied for 0123456789.dkr.ecr.eu-west-1.amazonaws.com/your-repo, repository does not exist or may require 'docker login': denied: User: arn:aws:iam::12314234235:user/your-user is not authorized to perform: ecr:BatchGetImage on resource: arn:aws:ecr:eu-west-1:5435345354:repository/your-repo because no resource-based policy allows the ecr:BatchGetImage action

Related

See also

Advertising: