docker logout

Estimated reading time: 1 minute

Description

Log out from a Docker registry

Usage

docker logout [SERVER]

Parent command

Command Description
docker The base command for the Docker CLI.

Extended description

Log out of a Docker Registry located on the specified SERVER. You can specify a URL or a hostname for the SERVER value. If you do not specify a SERVER, the command attempts to log you out of Docker’s public registry located at https://registry-1.docker.io/ by default.

EXAMPLES

Log out from a registry on your localhost

# docker logout localhost:8080

See also

docker-login(1) to log in to a Docker registry server.

Examples

Log out from a registry on your localhost

$ docker logout localhost:8080
chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: