Your company here — click to reach over 10,000 unique daily visitors

podman-volume-mount - Man Page

Mount a volume filesystem


podman volume mount [volume ...]


Mounts the specified volumes' file system in a location which can be accessed from the host, and returns its location.

Rootless mode only supports mounting file volumes unless Podman is run within the user namespace via the podman unshare command. All other volume types fail to mount.

Return Value

The location of the mounted file system.  On error an empty string and errno is returned.


Mount specified volume. As Root:

# podman volume mount foo

In rootless mode, volume mounting only works after executing the podman unshare command to enter the user namespace.

$ podman unshare
# podman volume mount foo

See Also

podman(1), podman-volume(1), podman-volume-unmount(1), podman-unshare(1), mount(8)

Referenced By

podman-volume(1), podman-volume-unmount(1).

The man page docker-volume-mount(1) is an alias of podman-volume-mount(1).