podman-pod-prune(1)
β¨ 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 isfalse, 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
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- fedora 43: podman-docker 5:5.6.2-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman-docker 5:5.8.4-1.fc43
- fedora 43: podman-docker 5:5.8.8-1.fc43
- fedora 43: podman-docker 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.7-1.fc44
- fedora 44: podman-docker 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- ubuntu resolute: podman-docker 5.7.0+ds2-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms