buildah-logout(1)

πŸ“¦
version 1.45.0 Β· 5 versions
, in centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, opensuse-leap 16.0, ubuntu questing

✨ buildah-logout β€” bestie's guide to logging OUT πŸ’…

okay so this is the buildah-logout(1) page, from the General Commands Manual section, and it's literally just about yeeting yourself out of a container registry. let's go πŸŽ€


🌸 NAME 🌸

buildah-logout β€” Logout of a container registry


πŸ¦‹ SYNOPSIS πŸ¦‹

buildah logout [options] registry

πŸ’– DESCRIPTION πŸ’–

okay bestie, here's the tea β˜• β€” buildah logout logs you out of a specified registry server by deleting the cached credentials stored in the auth.json file. like, poof, gone, no more login energy πŸ’€

the path of the authentication file can be overridden by you (yes you, main character πŸ‘‘) by setting the authfile flag. the default path used is ${XDG_RUNTIME_DIR}/containers/auth.json. see containers-auth.json(5) for more info, iykyk.

and if you want all the cached credentials gone? just set the all flag and watch them all disappear at once. it's giving spring cleaning 🌈

buildah [GLOBAL OPTIONS]

buildah logout [GLOBAL OPTIONS]

buildah logout [OPTIONS] REGISTRY [GLOBAL OPTIONS]

✨ OPTIONS ✨

  • --all, -a β€” Remove the cached credentials for all registries in the auth file. every single one. no survivors 🫢
  • --authfile β€” Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/containers/auth.json. See containers-auth.json(5) for more information.
Note: You can also override the default path of the authentication file by setting the REGISTRY_AUTH_FILE environment variable. Like this, bestie: export REGISTRY_AUTH_FILE=path 🧚
  • --compat-auth-file=path β€” Instead of updating the default credentials file, update the one at path, and use a Docker-compatible format. lowkey fancy of you ngl πŸ’…
  • --help, -h β€” Print usage statement. the classic. the icon. ⭐

πŸ“ EXAMPLES πŸ“

logging out of quay.io, the standard slay:

$ buildah logout quay.io
Removed login credentials for quay.io

logging out but with a custom authfile because you're built different:

$ buildah logout --authfile authdir/myauths.json quay.io
Removed login credentials for quay.io

and the nuclear option, logout of literally everything πŸ”₯:

$ buildah logout --all
Remove login credentials for all registries

πŸ‘‘ SEE ALSO πŸ‘‘

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


and that's the whole page bestie!! this one's from the buildah source, dated Apr 2019 (yeah she's an oldie but a goodie πŸŽ€), and it lives in the buildah-logout(1) corner of the manual. go forth and log out responsibly, mwah πŸ’œβœ¨

πŸ“¦ where this page comes from