.nh .TH skopeo-logout(1) .SH NAME .PP skopeo-logout - Logout of a container registry. .SH SYNOPSIS .PP \fBskopeo logout\fP [\fIoptions\fP] \fIregistry\fP .SH DESCRIPTION .PP \fBskopeo 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\&. All the cached credentials can be removed by setting the \fBall\fP flag. .SH OPTIONS .PP See also skopeo(1) for options placed before the subcommand name. .PP \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 .PP \fB--all\fP, \fB-a\fP .PP Remove the cached credentials for all registries in the auth file .PP \fB--help\fP, \fB-h\fP .PP Print usage statement .PP \fB--tls-verify\fP=\fIbool\fP .PP Require HTTPS and verify certificates when talking to the container registry or daemon. Default to registry.conf setting. .SH EXAMPLES .PP .RS .nf $ skopeo logout docker.io Remove login credentials for docker.io .fi .RE .PP .RS .nf $ skopeo logout --authfile authdir/myauths.json docker.io Remove login credentials for docker.io .fi .RE .PP .RS .nf $ skopeo logout --all Remove login credentials for all registries .fi .RE .SH SEE ALSO .PP skopeo(1), skopeo-login(1), containers-auth.json(5) .SH HISTORY .PP May 2020, Originally compiled by Qi Wang qiwan@redhat.com \[la]mailto:qiwan@redhat.com\[ra]