1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

fix doc references

Docker-DCO-1.1-Signed-off-by: Daniel, Dao Quang Minh <dqminh89@gmail.com> (github: dqminh)
This commit is contained in:
Daniel, Dao Quang Minh 2014-06-29 13:10:20 -04:00 committed by Victor Vieux
parent 06bc4e0752
commit 4b5b3b4321
3 changed files with 12 additions and 13 deletions

View file

@ -67,8 +67,8 @@ func (cli *DockerCli) CmdHelp(args ...string) error {
{"inspect", "Return low-level information on a container"}, {"inspect", "Return low-level information on a container"},
{"kill", "Kill a running container"}, {"kill", "Kill a running container"},
{"load", "Load an image from a tar archive"}, {"load", "Load an image from a tar archive"},
{"login", "Register or log in to the Docker registry server"}, {"login", "Register or log in to a Docker registry server"},
{"logout", "Logout of the Docker registry server"}, {"logout", "Log out from a Docker registry server"},
{"logs", "Fetch the logs of a container"}, {"logs", "Fetch the logs of a container"},
{"port", "Lookup the public-facing port that is NAT-ed to PRIVATE_PORT"}, {"port", "Lookup the public-facing port that is NAT-ed to PRIVATE_PORT"},
{"pause", "Pause all processes within a container"}, {"pause", "Pause all processes within a container"},
@ -354,9 +354,9 @@ func (cli *DockerCli) CmdLogin(args ...string) error {
return nil return nil
} }
// logout of a registry service // log out from a Docker registry
func (cli *DockerCli) CmdLogout(args ...string) error { func (cli *DockerCli) CmdLogout(args ...string) error {
cmd := cli.Subcmd("logout", "[SERVER]", "Logout of a docker registry server, if no server is specified \""+registry.IndexServerAddress()+"\" is the default.") cmd := cli.Subcmd("logout", "[SERVER]", "Log out from a Docker registry, if no server is specified \""+registry.IndexServerAddress()+"\" is the default.")
if err := cmd.Parse(args); err != nil { if err := cmd.Parse(args); err != nil {
return nil return nil

View file

@ -1,24 +1,23 @@
% DOCKER(1) Docker User Manuals % DOCKER(1) Docker User Manuals
% William Henry % Daniel, Dao Quang Minh
% APRIL 2014 % JUNE 2014
# NAME # NAME
docker-logout - Log the user out of a Docker registry server docker-logout - Log out from a Docker registry
# SYNOPSIS # SYNOPSIS
**docker logout** [SERVER] **docker logout** [SERVER]
# DESCRIPTION # DESCRIPTION
Log the user out of a docker registry server, , if no server is Log the user out from a Docker registry, if no server is
specified "https://index.docker.io/v1/" is the default. If you want to specified "https://index.docker.io/v1/" is the default. If you want to
logout of a private registry you can specify this by adding the server name. log out from a private registry you can specify this by adding the server name.
# EXAMPLE # EXAMPLE
## Logout of a local registry ## Log out from a local registry
# docker logout localhost:8080 # docker logout localhost:8080
# HISTORY # HISTORY
April 2014, Originally compiled by William Henry (whenry at redhat dot com) June 2014, Originally compiled by Daniel, Dao Quang Minh (daniel at nitrous dot io)
based on docker.io source material and internal work.

View file

@ -736,7 +736,7 @@ specify this by adding the server name.
Usage: docker logout [SERVER] Usage: docker logout [SERVER]
Log the user out of a docker registry server, if no server is specified "https://index.docker.io/v1/" is the default. Log out from a Docker registry, if no server is specified "https://index.docker.io/v1/" is the default.
example: example:
$ docker logout localhost:8080 $ docker logout localhost:8080