2015-06-21 16:41:38 -04:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
|
|
|
title = "login"
|
|
|
|
description = "The login command description and usage"
|
|
|
|
keywords = ["registry, login, image"]
|
|
|
|
[menu.main]
|
|
|
|
parent = "smn_cli"
|
|
|
|
weight=1
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
|
|
|
|
|
|
|
# login
|
|
|
|
|
|
|
|
Usage: docker login [OPTIONS] [SERVER]
|
|
|
|
|
|
|
|
Register or log in to a Docker registry server, if no server is
|
|
|
|
specified "https://index.docker.io/v1/" is the default.
|
|
|
|
|
|
|
|
-e, --email="" Email
|
2015-10-03 11:56:41 -04:00
|
|
|
--help=false Print usage
|
2015-06-21 16:41:38 -04:00
|
|
|
-p, --password="" Password
|
|
|
|
-u, --username="" Username
|
|
|
|
|
|
|
|
If you want to login to a self-hosted registry you can specify this by
|
|
|
|
adding the server name.
|
|
|
|
|
|
|
|
example:
|
|
|
|
$ docker login localhost:8080
|
|
|
|
|
|
|
|
|