mirror of
https://github.com/wsargent/docker-cheat-sheet.git
synced 2025-09-22 05:40:50 +02:00
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:
parent
2b388328ce
commit
a8204cdc49
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue