podman-volume-rm(1)
π podman-volume-rm(1) π
okay bestie, welcome to the General Commands Manual entry for podman-volume-rm β yes, the one and only volume-deleter. pull up a chair, we're doing some spring cleaning π§Ήβ¨
β¨ NAME β¨
podman-volume-rm β remove one or more volumes ποΈπ
β¨ SYNOPSIS β¨
podman volume rm [options] volume [...]
β¨ DESCRIPTION β¨
so basically: this removes one or more volumes. that's the whole vibe. but like, only volumes that aren't being used get removed β if a container is currently using a volume, you get an error back π unless you're rocking the --force flag, in which case it's giving "we're doing this anyway".
wanna nuke literally every volume? that's the --all flag, iconic. and you can also remove volumes one at a time by handing over either their full name or a unique partial name. cute, flexible, we love her π«Ά
β¨ OPTIONS β¨
--all,-aβ remove all volumes. every single one. bye π--force,-fβ remove a volume by force. if it's being used by containers, the containers get removed first. no cap, that's the deal.--helpβ print usage statement π--time,-t=secondsβ how many seconds to wait before forcibly stopping running containers that are using the specified volume. heads up bestie: the--forceoption must be specified to use the--timeoption. use-1for an infinite wait β³
β¨ EXAMPLES β¨
remove multiple specified volumes. look at you, so organised πΈ
$ podman volume rm myvol1 myvol2
remove all volumes. clean slate era π₯
$ podman volume rm --all
remove the specified volume even if it is in use. note: this removes all containers using the volume. it's giving chaos but make it intentional π
$ podman volume rm --force myvol
β¨ Exit Status β¨
0β all specified volumes removed β slay1β one of the specified volumes did not exist, and no other failures π2β one of the specified volumes is being used by a container π«125β the command fails for any other reason π
β¨ SEE ALSO β¨
podman(1), podman-volume(1) β go read the family, they're all icons π
β¨ HISTORY β¨
November 2018, originally compiled by Urvashi Mohnani umohnani@redhat.com β¨mailto:umohnani@redhat.comβ© π
and that's the whole page, bestie!! this was the podman-volume-rm(1) manual page, living under the General Commands Manual umbrella β mwah, go forth and delete responsibly πβ¨π¦
π¦ 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