docker login
docker login [-u user] [registry]
Risk: Careful
What it does
Logs in to a registry. Use an access token, not your password.
When to use it
Before pushing, or to lift pull limits.
Example
$ echo $DOCKER_TOKEN | docker login -u you --password-stdinLog in with a token, safely.
$ docker logoutForget the login.
Learn it in: Log in with a token · Official docs