Difference between revisions of "Docker login"

From wikieduonline
Jump to navigation Jump to search
Line 5: Line 5:
 
* <code>[[docker login --help]]</code>
 
* <code>[[docker login --help]]</code>
 
* <code>[[docker]] login --username $DOCKERHUB_USERNAME</code>
 
* <code>[[docker]] login --username $DOCKERHUB_USERNAME</code>
 +
* <code>docker login --username YOURUSER YOUREPO.[[azurecr.io]]</code>
 
* <code>[[docker]] login --username $DOCKERHUB_USERNAME [[--password-stdin]]</code>
 
* <code>[[docker]] login --username $DOCKERHUB_USERNAME [[--password-stdin]]</code>
  

Revision as of 13:26, 17 July 2024

Examples


docker login --username $DOCKERHUB_USERNAME
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: