diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-01-06 21:04:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 21:04:12 +0100 |
commit | d62752819214ee7f910e25d368d427fbcac74b17 (patch) | |
tree | 85f61c7ea0190923d5ce85190764700708dba25c /docs | |
parent | 2fd6c2ee89e92ced8568d7ed3ea3f04017b154ed (diff) | |
parent | 6630e5cf66cf76aefcfe9caebe5df4f37dd0bdd5 (diff) | |
download | podman-d62752819214ee7f910e25d368d427fbcac74b17.tar.gz podman-d62752819214ee7f910e25d368d427fbcac74b17.tar.bz2 podman-d62752819214ee7f910e25d368d427fbcac74b17.zip |
Merge pull request #11454 from afbjorklund/virtfs-volumes
Implement virtfs volumes for podman machine
Diffstat (limited to 'docs')
-rw-r--r-- | docs/source/markdown/podman-machine-init.1.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-machine-init.1.md b/docs/source/markdown/podman-machine-init.1.md index aead6c695..b515e8763 100644 --- a/docs/source/markdown/podman-machine-init.1.md +++ b/docs/source/markdown/podman-machine-init.1.md @@ -61,6 +61,20 @@ Set the timezone for the machine and containers. Valid values are `local` or a `timezone` such as `America/Chicago`. A value of `local`, which is the default, means to use the timezone of the machine host. +#### **--volume**, **-v**=*source:target* + +Mounts a volume from source to target. + +Create a mount. If /host-dir:/machine-dir is specified as the `*source:target*`, +Podman mounts _host-dir_ in the host to _machine-dir_ in the Podman machine. + +The root filesystem is mounted read-only in the default operating system, +so mounts must be created under the /mnt directory. + +#### **--volume-driver** + +Driver to use for mounting volumes from the host, such as `virtfs`. + #### **--help** Print usage statement. @@ -72,6 +86,7 @@ $ podman machine init $ podman machine init myvm $ podman machine init --disk-size 50 $ podman machine init --memory=1024 myvm +$ podman machine init -v /Users:/mnt/Users ``` ## SEE ALSO |