Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 467 Bytes

docker-registry-login.md

File metadata and controls

17 lines (10 loc) · 467 Bytes

Login to docker registry

docker login [-u {{USERNAME}}] [-p {{PASSWORD}}] [SERVER]

  • SERVER: Private registry URL. Ignoring this argument defaults to Docker Hub.

Flags:

  • -u: Username for Private registry
  • -p: Password for Private registry
  • --password-stdin: Takes password for Private registry from STDIN

Example:

docker login

docker login -u admin -p nononeknows localhost:5000