SKOPEO-LOGOUT(1)

✨ skopeo-logout β€” the manual page, but make it cute ✨

okay bestie, this is the manual page for skopeo-logout, which lives in section 1 of the manual (that's the <pink>skopeo-logout(1)</pink> bit at the top, iykyk). It's the little guy that gets you logged out of a container registry. Let's get into it πŸ’…


🌸 NAME 🌸

skopeo-logout β€” Logout of a container registry.


πŸ¦‹ SYNOPSIS πŸ¦‹

skopeo logout [options] registry

πŸ’– DESCRIPTION πŸ’–

so here's the vibe: skopeo logout logs you out of a specified registry server by deleting the cached credentials that are sitting in the auth.json file. bye bye credentials, you will not be missed 🫢

and if you don't like where that credentials file lives? you can literally just override it yourself by setting the authfile flag. your file, your rules ✨

and if you want to nuke everything β€” like, every single cached credential you've got β€” you set the all flag and it's gone. all of it. periodt.


πŸŽ€ OPTIONS πŸŽ€

also peep skopeo(1) for options that get placed before the subcommand name, bestie.

  • --authfile=path β€” the path of the managed registry credentials file. on Linux the default is ${XDG_RUNTIME_DIR}/containers/auth.json. wanna know what the default is on other platforms? go read containers-auth.json(5), it has all the details. and btw, the default value of this option is read from the REGISTRY_AUTH_FILE environment variable πŸ‘‘
  • --compat-auth-file=path β€” instead of updating the default credentials file, this updates the one at path, and it uses a Docker-compatible format. cute and compatible, we love that for us.
  • --all, -a β€” remove the cached credentials for all registries in the auth file. every last one. πŸ’€
  • --help, -h β€” print usage statement. classic.
  • --tls-verify=bool β€” require HTTPS and verify certificates when talking to the container registry or daemon. it defaults to the registry.conf setting, so check there if you're curious 🌈

🌟 EXAMPLES 🌟

here's how it looks in the wild, bestie:

$ skopeo logout docker.io
Remove login credentials for docker.io
$ skopeo logout --authfile authdir/myauths.json docker.io
Remove login credentials for docker.io
$ skopeo logout --all
Remove login credentials for all registries

see how clean that is? chef's kiss 🧚


πŸ’œ SEE ALSO πŸ’œ

skopeo(1), skopeo-login(1), containers-auth.json(5)


πŸ‘‘ HISTORY πŸ‘‘

May 2020, Originally compiled by Qi Wang qiwan@redhat.com ⟨mailto:qiwan@redhat.com⟩


and that's the whole page, gorgeous. it came from the <lavender>skopeo-logout(1)</lavender> corner of the manual, and the footer says the same thing back at you β€” <lavender>skopeo-logout(1)</lavender> β€” no date, no version string, just the name twice like a little echo. slay πŸ’–βœ¨

πŸ“¦ where this page comes from