Log into a docker registry.
More information.
- Interactively log into a registry:
- Log into a registry with a specific username (user will be prompted for a password):
docker login --username {username}
- Log into a registry with username and password:
docker login --username {username} --password {password} {server}
- Log into a registry with password from stdin:
echo "{password}" | docker login --username {username} --password-stdin
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY