buildah-rmi(1)
β¨ buildah-rmi(1) β¨
okay bestie, welcome to the buildah-rmi page (that's the manual name, it's giving β¨cleanup eraβ¨) β and no cap, this one is short and sweet but SO useful π
πΈ NAME πΈ
buildah-prune β cleanup intermediate images as well as build and mount cache. π§Ήβ¨
π SYNOPSIS π
buildah prune
that's it. that's the whole thing. iconic minimalism π
π¦ DESCRIPTION π¦
Cleanup intermediate images as well as build and mount cache.
fr fr, that's the entire description β it does exactly what it says on the tin. it clears out the intermediate images and the build + mount cache so your system stops hoarding stuff you don't need anymore. lowkey therapeutic ππ
π OPTIONS π
--all,-aβ All local images will be removed from the system that do not have containers using the image as a reference image. so likeβ¦ if nothing's holding onto it, it's gone bestie πβ¨--force,-fβ this option will cause Buildah to remove all containers that are using the image before removing the image from the system. β οΈ yes, that means the containers go first. read it again. it's giving "no thoughts, just deletion" π«Ά
π EXAMPLE π
buildah prune
buildah prune --force
see? two little commands. so cozy. so powerful. go off π
β SEE ALSO β
π¨ bestie PSA: --force does NOT ask twice. it removes the containers using the image before nuking the image. be sure. be very sure. π¨
mwah π that's the page! this one came from buildah, dated Jan 2023 β and that's the whole manual, start to finish. stay pruned, stay slay πΈπ¦π
π¦ 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 noble: buildah 1.33.7+ds1-1 Β· Apache-2.0
- ubuntu noble: buildah 1.33.7+ds1-1ubuntu0.24.04.3 Β· 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