Adding logout command

Logout directive was missing in the registry section. docker logout, Logs out from a Docker registry, if no server is specified "https://index.docker.io/v1/" is used as the default.
https://docs.docker.com/engine/reference/commandline/logout/
This commit is contained in:
Luis Herrera Benítez 2016-05-07 14:25:57 +02:00
parent 2b388328ce
commit a8204cdc49

View file

@ -208,6 +208,7 @@ A registry is a *host* -- a server that stores repositories and provides an HTTP
Docker.com hosts its own [index](https://hub.docker.com/) to a central registry which contains a large number of repositories. Having said that, the central docker registry [does not do a good job of verifying images](https://titanous.com/posts/docker-insecurity) and should be avoided if you're worried about security.
* [`docker login`](https://docs.docker.com/reference/commandline/login) to login to a registry.
* [`docker logout`](https://docs.docker.com/reference/commandline/logout) to logout from a registry.
* [`docker search`](https://docs.docker.com/reference/commandline/search) searches registry for image.
* [`docker pull`](https://docs.docker.com/reference/commandline/pull) pulls an image from registry to local machine.
* [`docker push`](https://docs.docker.com/reference/commandline/push) pushes an image to the registry from local machine.