Difference between revisions of "Docker login"
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
* [[Docker ID]] | * [[Docker ID]] | ||
* {{login}} | * {{login}} | ||
+ | * <code>[[crane ls]]</code> | ||
== See also == | == See also == |
Revision as of 11:08, 5 March 2024
docker login
docker login --help
docker login --username $DOCKERHUB_USERNAME --password-stdin
- Configuration file:
$HOME/.docker/config.json
Contents
Examples
docker login localhost:8080
aws ecr get-login-password --region YOUR_REGIOM | docker login --username YOUR_USERNAME --password-stdin YOUR_ACCOUNT_ID.dkr.ecr.YOUR_REGION.amazonaws.com
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
docker logout, docker push
- GitLab:
DOCKER_AUTH_CONFIG
conan user, podman login, npm login
- Docker ID
- Login:
conan user, podman login, docker login, aws ecr get-login, npm login, crane auth
crane ls
See also
Advertising: