Add logout command

"docker logout [SERVER]" will remove the registry server' credentials from
.dockercfg file. If a server is not specified, it will log user out of the
default docker registry server

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-07-18 17:42:49 +00:00
committed by Victor Vieux
parent 36608696e1
commit 06bc4e0752
4 changed files with 67 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
% DOCKER(1) Docker User Manuals
% William Henry
% APRIL 2014
# NAME
docker-logout - Log the user out of a Docker registry server
# SYNOPSIS
**docker logout** [SERVER]
# DESCRIPTION
Log the user out of a docker registry server, , if no server is
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.
# EXAMPLE
## Logout of a local registry
# docker logout localhost:8080
# HISTORY
April 2014, Originally compiled by William Henry (whenry at redhat dot com)
based on docker.io source material and internal work.
+3
View File
@@ -124,6 +124,9 @@ inside it)
**docker-login(1)**
Register or Login to a Docker registry server
**docker-logout(1)**
Log the user out of a Docker registry server
**docker-logs(1)**
Fetch the logs of a container