github.com/jaegerpicker/docker@v0.7.7-0.20150325003727-22dba32b4dab/docs/man/docker-login.1.md (about) 1 % DOCKER(1) Docker User Manuals 2 % Docker Community 3 % JUNE 2014 4 # NAME 5 docker-login - Register or log in to a Docker registry server, if no server is specified "https://index.docker.io/v1/" is the default. 6 7 # SYNOPSIS 8 **docker login** 9 [**-e**|**--email**[=*EMAIL*]] 10 [**--help**] 11 [**-p**|**--password**[=*PASSWORD*]] 12 [**-u**|**--username**[=*USERNAME*]] 13 [SERVER] 14 15 # DESCRIPTION 16 Register or Login to a docker registry server, if no server is 17 specified "https://index.docker.io/v1/" is the default. If you want to 18 login to a private registry you can specify this by adding the server name. 19 20 This stores encoded credentials in `$HOME/.dockercfg` on Linux or `%USERPROFILE%/.dockercfg` 21 on Windows. 22 23 # OPTIONS 24 **-e**, **--email**="" 25 Email 26 27 **--help** 28 Print usage statement 29 30 **-p**, **--password**="" 31 Password 32 33 **-u**, **--username**="" 34 Username 35 36 # EXAMPLES 37 38 ## Login to a local registry 39 40 # docker login localhost:8080 41 42 # See also 43 **docker-logout(1)** to log out from a Docker registry. 44 45 # HISTORY 46 April 2014, Originally compiled by William Henry (whenry at redhat dot com) 47 based on docker.com source material and internal work. 48 June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>