podman-volume-mount(1)
β¨ podman-volume-mount(1) β the girlies' guide to mounting a volume filesystem β¨
okay so bestie, this is a page from the General Commands Manual section, and it's all about podman-volume-mount π. Strap in, it's short but it's mighty.
π NAME π
podman-volume-mount β mount a volume filesystem, periodt.
πΈ SYNOPSIS πΈ
podman volume mount [volume ...]
yes that's it. you pass it some volumes, or like, don't, and it does its thing π¦
π DESCRIPTION π
So here's the tea β: this command mounts the file system of the volumes you name, in a location that the host can actually get to, and then it hands you back that location. it's giving "here's where your stuff lives now" π«Ά
Rootless mode tea, listen up: if you're running rootless, you can only mount file volumes β unless you're running Podman inside the user namespace via the podman unshare command. Every other volume type justβ¦ fails to mount. no cap. π
π RETURN VALUE π
- On success: the location of the mounted file system. iconic. π
- On error: an empty string and
errnois returned. π
π EXAMPLE π
Mount a specified volume, as Root:
# podman volume mount foo
/home/dwalsh/.local/share/containers/storage/volumes/foo/_data
In rootless mode, volume mounting only works after you run the podman unshare command to enter the user namespace:
$ podman unshare
# podman volume mount foo
/home/dwalsh/.local/share/containers/storage/volumes/foo/_data
see how the prompt changes from $ to #? that's the whole plot twist bestie πβ¨
π₯ SEE ALSO π₯
go read those next, iykyk π
and that's the whole page, bestie! this was podman-volume-mount(1) from the General Commands Manual section, and yeah β the footer is literally just podman-volume-mount(1) again, no version or date info attached, so that's all we got. stay mounted, stay hydrated ππ§
π¦ 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