docker login [-u {{USERNAME}}] [-p {{PASSWORD}}] [SERVER]
- SERVER: Private registry URL. Ignoring this argument defaults to Docker Hub.
- -u: Username for Private registry
- -p: Password for Private registry
- --password-stdin: Takes password for Private registry from STDIN
docker login
docker login -u admin -p nononeknows localhost:5000