40 lines
1.1 KiB
Groff
40 lines
1.1 KiB
Groff
.nh
|
|
.TH podman-volume-mount 1
|
|
.SH NAME
|
|
podman-volume-mount \- Mount a volume filesystem
|
|
|
|
.SH SYNOPSIS
|
|
\fBpodman volume mount\fP [\fIvolume\fP ...]
|
|
|
|
.SH DESCRIPTION
|
|
Mounts the specified volumes' file system in a location which can be
|
|
accessed from the host, and returns its location.
|
|
|
|
.PP
|
|
Rootless mode only supports mounting file volumes unless Podman is run within the user namespace
|
|
via the \fBpodman unshare\fR command. All other volume types fail to mount.
|
|
|
|
.SH RETURN VALUE
|
|
The location of the mounted file system. On error an empty string and errno is
|
|
returned.
|
|
|
|
.SH EXAMPLE
|
|
Mount specified volume. As Root:
|
|
|
|
.EX
|
|
# podman volume mount foo
|
|
/home/dwalsh/.local/share/containers/storage/volumes/foo/_data
|
|
.EE
|
|
|
|
.PP
|
|
In rootless mode, volume mounting only works after executing the podman unshare command to enter the user namespace.
|
|
|
|
.EX
|
|
$ podman unshare
|
|
# podman volume mount foo
|
|
/home/dwalsh/.local/share/containers/storage/volumes/foo/_data
|
|
.EE
|
|
|
|
.SH SEE ALSO
|
|
\fBpodman(1)\fP, \fBpodman-volume(1)\fP, \fBpodman-volume-unmount(1)\fP, \fBpodman-unshare(1)\fP, \fBmount(8)\fP
|