podman-volume-unmount(1)

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

✨ NAME ✨

podman-volume-unmount β€” unmount a volume, bestie πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

podman volume unmount volume [...]

podman volume umount volume [...]

okay so you can spell it either way, unmount or umount, and honestly? iconic of it to give you options. ✨


🌸 DESCRIPTION 🌸

It unmounts the volume you point at, if there are no other containers using it. that's the whole vibe check right there. if somebody else is still holding onto it, it's not going anywhere. πŸ™ˆ

here's the tea on how it actually works tho, because this part is lowkey important: πŸ«–

volume storage keeps a mount counter, and it increments that counter every single time a volume gets mounted. so like, mounting is not a one-and-done situation β€” it's a tally. πŸ“ˆ

when a volume gets unmounted, that mount counter gets decremented. and the volume's filesystem is only physically unmounted when the mount counter hits zero β€” which is the moment that means no other processes are using the mount. so it's giving "last one out turns off the lights" energy. πŸ’‘ not me emotionally attached to a reference counter. 😭


πŸŽ€ EXAMPLE πŸŽ€

unmount a volume with a given ID:

podman volume unmount volumeID

unmount multiple volumes with given IDs (yes she can multitask, we love a queen πŸ‘‘):

podman volume unmount volumeID1 volumeID2 volumeID3

πŸ’– SEE ALSO πŸ’–


and that's the whole page, bestie β€” no cap. this was podman-volume-unmount(1) from the General Commands Manual, so go forth and unmount responsibly. πŸ’œβœ¨

πŸ“¦ where this page comes from