buildah-rmi(1)

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

✨ 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