From a760e325f3180638f9fedd0ee79d4c6695d8ba64 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 3 Sep 2019 15:03:44 -0400 Subject: Add ability for volumes with options to mount/umount When volume options and the local volume driver are specified, the volume is intended to be mounted using the 'mount' command. Supported options will be used to volume the volume before the first container using it starts, and unmount the volume after the last container using it dies. This should work for any local filesystem, though at present I've only tested with tmpfs and btrfs. Signed-off-by: Matthew Heon --- docs/podman-volume-create.1.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/podman-volume-create.1.md') diff --git a/docs/podman-volume-create.1.md b/docs/podman-volume-create.1.md index 3d3eb68b8..6612b0ad2 100644 --- a/docs/podman-volume-create.1.md +++ b/docs/podman-volume-create.1.md @@ -39,6 +39,8 @@ $ podman volume create myvol $ podman volume create $ podman volume create --label foo=bar myvol + +$ podman volume create --opt device=tmpfs --opt type=tmpfs --opt o=nodev,noexec myvol ``` ## SEE ALSO -- cgit v1.2.3-54-g00ecf