docker login
Jump to navigation
Jump to search
docker login
docker login --help
docker login --username $DOCKERHUB_USERNAME --password-stdin
- Configuration file:
$HOME/.docker/config.json
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
Related
See also
Advertising: