podman-volume-mount(1) General Commands Manual podman-volume-mount(1)

# [NAME](#NAME)

podman-volume-mount - Mount a volume filesystem

# [SYNOPSIS](#SYNOPSIS)

**podman volume mount** \[*volume* ...]

# [DESCRIPTION](#DESCRIPTION)

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](#RETURN_VALUE)

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

# [EXAMPLE](#EXAMPLE)

Mount 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 executing 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 ALSO](#SEE_ALSO)

[**podman(1)**](/man/enterprise-packages/podman-doc-6.0/podman.1), [**podman-volume(1)**](/man/enterprise-packages/podman-doc-6.0/podman-volume.1), [**podman-volume-unmount(1)**](/man/enterprise-packages/podman-doc-6.0/podman-volume-unmount.1), [**podman-unshare(1)**](/man/enterprise-packages/podman-doc-6.0/podman-unshare.1), [**mount(8)**](/man/enterprise-packages/podman-doc-6.0/mount.8)

---

Document: podman-volume-mount(1) from podman-doc-6.0 6.0.2-r13 (Chainguard OS)
Source: https://github.com/containers/podman
