.nh
.TH "DOCKER" "1" "May 2024" "Docker Community" "Docker User Manuals"

.SH NAME
.PP
docker-logout - Log out from a registry


.SH SYNOPSIS
.PP
\fBdocker logout [SERVER]\fP


.SH DESCRIPTION
.PP
Log out of a Docker Registry located on the specified \fBSERVER\fR\&. You can
specify a URL or a \fBhostname\fR for the \fBSERVER\fR value. If you do not specify a
\fBSERVER\fR, the command attempts to log you out of Docker's public registry
located at \fBhttps://registry-1.docker.io/\fR by default.


.SH EXAMPLES
.SH Log out from a registry on your localhost
.EX
# docker logout localhost:8080

.EE


.SH See also
.PP
\fBdocker-login(1)\fP to log in to a registry.


.SH OPTIONS
.PP
\fB-h\fP, \fB--help\fP[=false]
	help for logout


.SH SEE ALSO
.PP
\fBdocker(1)\fP
