docker-volume-mount(1)

docker-volume-mount1

Mount a volume filesystem

Part of podman-volume-mount(1).

Usage

podman volume mount [volume ...]

Overview

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.

Examples

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

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

From podman-docker 6.1.4-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.