CmdID

CmdID / Commands

docker-login

Log into a Docker registry. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Interactively log into a registry

docker loginIdentify

Log into a registry with a specific username (user will be prompted for a password)

docker login --username usernameIdentify
--usernameUsername Docker CLI reference

Log into a registry with username and password

docker login --username username --password password serverIdentify
--usernameUsername Docker CLI reference
--passwordPassword or Personal Access Token (PAT), or - to read from stdin Docker CLI reference

Log into a registry with password from stdin

echo "password" | docker login --username username --password-stdinIdentify