2014-04-16 14:07:55 -04:00
|
|
|
% DOCKER(1) Docker User Manuals
|
2014-06-30 22:58:04 -04:00
|
|
|
% Docker Community
|
|
|
|
% JUNE 2014
|
2014-04-16 14:07:55 -04:00
|
|
|
# NAME
|
2014-06-30 22:58:04 -04:00
|
|
|
docker-login - Register or log in to a Docker registry server, if no server is specified "https://index.docker.io/v1/" is the default.
|
2014-04-16 14:07:55 -04:00
|
|
|
|
|
|
|
# SYNOPSIS
|
2014-06-30 22:58:04 -04:00
|
|
|
**docker login**
|
|
|
|
[**-e**|**--email**[=*EMAIL*]]
|
2014-10-15 17:14:12 -04:00
|
|
|
[**--help**]
|
2014-06-30 22:58:04 -04:00
|
|
|
[**-p**|**--password**[=*PASSWORD*]]
|
|
|
|
[**-u**|**--username**[=*USERNAME*]]
|
2014-11-27 23:21:55 -05:00
|
|
|
[SERVER]
|
2014-04-16 14:07:55 -04:00
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
Register or Login to a docker registry server, if no server is
|
2014-04-17 11:36:58 -04:00
|
|
|
specified "https://index.docker.io/v1/" is the default. If you want to
|
|
|
|
login to a private registry you can specify this by adding the server name.
|
2014-04-16 14:07:55 -04:00
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
**-e**, **--email**=""
|
2014-06-30 22:58:04 -04:00
|
|
|
Email
|
2014-04-16 14:07:55 -04:00
|
|
|
|
2014-10-15 17:14:12 -04:00
|
|
|
**--help**
|
|
|
|
Print usage statement
|
|
|
|
|
2014-04-16 14:07:55 -04:00
|
|
|
**-p**, **--password**=""
|
|
|
|
Password
|
|
|
|
|
|
|
|
**-u**, **--username**=""
|
|
|
|
Username
|
|
|
|
|
2014-06-30 22:58:04 -04:00
|
|
|
# EXAMPLES
|
2014-04-16 14:07:55 -04:00
|
|
|
|
|
|
|
## Login to a local registry
|
|
|
|
|
|
|
|
# docker login localhost:8080
|
|
|
|
|
2015-03-01 01:36:00 -05:00
|
|
|
# See also
|
|
|
|
**docker-logout(1)** to log out from a Docker registry.
|
|
|
|
|
2014-04-16 14:07:55 -04:00
|
|
|
# HISTORY
|
|
|
|
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
|
2014-07-01 20:30:25 -04:00
|
|
|
based on docker.com source material and internal work.
|
2014-06-30 22:58:04 -04:00
|
|
|
June 2014, updated by Sven Dowideit <SvenDowideit@home.org.au>
|