.nh .TH buildah-logout "1" "Apr 2019" "buildah" .SH NAME .PP buildah-logout - Logout of a container registry .SH SYNOPSIS .PP \fBbuildah logout\fP [\fIoptions\fP] \fIregistry\fP .SH DESCRIPTION .PP \fBbuildah logout\fP logs out of a specified registry server by deleting the cached credentials stored in the \fBauth.json\fP file. 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\&. If XDG_RUNTIME_DIR is not set, the default is /run/containers/$UID/auth.json. All the cached credentials can be removed by setting the \fBall\fP flag. .PP \fBbuildah [GLOBAL OPTIONS]\fP .PP \fBbuildah logout [GLOBAL OPTIONS]\fP .PP \fBbuildah logout [OPTIONS] REGISTRY [GLOBAL OPTIONS]\fP .SH OPTIONS .PP \fB--all\fP, \fB-a\fP .PP Remove the cached credentials for all registries in the auth file .PP \fB--authfile\fP .PP Path of the authentication file. Default is ${XDG_\\RUNTIME_DIR}/containers/auth.json. If XDG_RUNTIME_DIR is not set, the default is /run/user/$UID/containers/auth.json. .PP Note: You can also override the default path of the authentication file by setting the REGISTRY_AUTH_FILE environment variable. \fBexport REGISTRY_AUTH_FILE=path\fR .PP \fB--compat-auth-file\fP=\fIpath\fP .PP Instead of updating the default credentials file, update the one at \fIpath\fP, and use a Docker-compatible format. .PP \fB--help\fP, \fB-h\fP .PP Print usage statement .SH EXAMPLES .EX $ buildah logout quay.io Removed login credentials for quay.io .EE .EX $ buildah logout --authfile authdir/myauths.json quay.io Removed login credentials for quay.io .EE .EX $ buildah logout --all Remove login credentials for all registries .EE .SH SEE ALSO .PP buildah(1), buildah-login(1)