buildah-logout(1)
β¨ 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. Seecontainers-auth.json(5)for more information.
Note: You can also override the default path of the authentication file by setting theREGISTRY_AUTH_FILEenvironment 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
- centos-stream 10: buildah 2:1.45.0-2.el10 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- centos-stream 9: buildah 2:1.43.2-3.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- debian trixie: buildah 1.39.3+ds1-1+b7 Β· Apache-2.0
- fedora 43: buildah 2:1.41.5-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: buildah 2:1.43.2-1.fc43
- fedora 43: buildah 2:1.43.4-1.fc43
- fedora 43: buildah 2:1.43.5-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: buildah 2:1.43.0-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: buildah 2:1.43.4-1.fc44
- fedora 44: buildah 2:1.43.5-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- opensuse-leap 16.0: buildah 1.39.5-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: buildah 1.39.5-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: buildah 1.39.5-160000.2.1 Β· Apache-2.0
- opensuse-leap 16.0: buildah 1.39.5-160000.2.1 Β· Apache-2.0
- ubuntu questing: buildah 1.39.3+ds1-1syncable1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms