podman-pod-prune(1)

πŸ“¦
version 6.1.4 Β· 5 versions
, in arch rolling, fedora 43, fedora 44, ubuntu resolute

✨ podman-pod-prune(1) β€” the pod cleanup era ✨

okay bestie, gather round, because this is the podman-pod-prune manual page and it is unhinged in the best way πŸŽ€ it's a section of the General Commands Manual and honestly? it's giving "spring cleaning but make it containers" πŸ§ΉπŸ’–


🌸 NAME 🌸

podman-pod-prune β€” remove all stopped pods and their containers 🫢


✨ SYNOPSIS ✨

podman pod prune [options]

πŸ’… DESCRIPTION πŸ’…

so like, podman pod prune removes all stopped pods and their containers from local storage. that's it. that's the whole vibe. no cap. πŸ”₯


πŸ‘‘ OPTIONS πŸ‘‘

  • --force, -f β€” force removal of all running pods and their containers, not just the stopped ones 😭 the default is false, so if you don't pass this, it's chillin' and only touching the stopped/exited ones. but with -f? it's main character energy and nothing is safe. πŸ’€

🌈 EXAMPLES 🌈

remove all stopped pods and their containers from local storage πŸ“

$ sudo podman pod prune
WARNING! This will remove all stopped/exited pods..
Are you sure you want to continue? [y/N] y
22b8813332948064b6566370088c5e0230eeaf15a58b1c5646859fd9fc364fe7
2afb26869fe5beab979c234afb75c7506063cd4655b1a73557c9d583ff1aebe9
49161ad2a722cf18722f0e17199a9e840703a17d1158cdeda502b6d54080f674
5ca429f37fb83a9f54eea89e3a9102b7780a6e6ae5f132db0672da551d862c4a
6bb06573787efb8b0675bc88ebf8361f1a56d3ac7922d1a6436d8f59ffd955f1
it asks first, bestie. <yellow>Are you sure you want to continue? [y/N] y</yellow> β€” and then it prints a little parade of hashes for every pod it nuked πŸ¦‹

force removal of all running pods and their containers πŸ’₯

$ sudo podman pod prune --force
22b8813332948064b6566370088c5e0230eeaf15a58b1c5646859fd9fc364fe7
2afb26869fe5beab979c234afb75c7506063cd4655b1a73557c9d583ff1aebe9
49161ad2a722cf18722f0e17199a9e840703a17d1158cdeda502b6d54080f674
5ca429f37fb83a9f54eea89e3a9102b7780a6e6ae5f132db0672da551d862c4a
heads up: no prompt this time. --force just goes. running pods included. it's a whole vibe check and they did NOT pass πŸ™ˆ

πŸŽ€ SEE ALSO πŸŽ€


πŸ’œ HISTORY πŸ’œ

April 2019, originally compiled by Peter Hunt (pehunt at redhat dot com) β€” iconic behavior, honestly, we love a legend πŸ‘‘


and that's the whole page, bestie 🫢 this was the podman-pod-prune(1) manual page from the General Commands Manual, dated April 2019. slay, hydrate, and maybe prune ur pods πŸ’–βœ¨πŸŒΈ

πŸ“¦ where this page comes from