.nh .TH podman\-logout(1) .SH NAME .PP podman\-logout \- Logout of a container registry .SH SYNOPSIS .PP \fBpodman logout\fP [\fIoptions\fP] \fIregistry\fP .SH DESCRIPTION .PP \fBpodman logout\fP logs out of a specified registry server by deleting the cached credentials stored in the \fBauth.json\fP file. If the registry is not specified, the first registry under [registries.search] from registries.conf will be used. The path of the authentication file can be overridden by the user by setting the \fBauthfile\fP flag. The default path used is \fB${XDG\_RUNTIME\_DIR}/containers/auth.json\fP\&. For more details about format and configurations of the auth,json file, please refer to containers\-\&auth.json(5) All the cached credentials can be removed by setting the \fBall\fP flag. .PP \fBpodman [GLOBAL OPTIONS]\fP .PP \fBpodman logout [GLOBAL OPTIONS]\fP .PP \fBpodman logout [OPTIONS] REGISTRY [GLOBAL OPTIONS]\fP .SH OPTIONS .SS \fB\-\-authfile\fP=\fIpath\fP .PP Path of the authentication file. Default is ${XDG\_RUNTIME\_DIR}/containers/auth.json. .PP Note: You can also override the default path of the authentication file by setting the REGISTRY\_AUTH\_FILE environment variable. \fB\fCexport REGISTRY\_AUTH\_FILE=path\fR .SS \fB\-\-all\fP, \fB\-a\fP .PP Remove the cached credentials for all registries in the auth file .SS \fB\-\-help\fP, \fB\-h\fP .PP Print usage statement .SH EXAMPLES .PP .RS .nf $ podman logout docker.io Remove login credentials for https://registry\-1.docker.io/v2/ .fi .RE .PP .RS .nf $ podman logout \-\-authfile authdir/myauths.json docker.io Remove login credentials for https://registry\-1.docker.io/v2/ .fi .RE .PP .RS .nf $ podman logout \-\-all Remove login credentials for all registries .fi .RE .SH SEE ALSO .PP podman(1), podman\-login(1), containers\-auth.json(5) .SH HISTORY .PP August 2017, Originally compiled by Urvashi Mohnani umohnani@redhat.com \[la]mailto:umohnani@redhat.com\[ra]