diff options
author | Ed Santiago <santiago@redhat.com> | 2022-09-12 06:44:22 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2022-09-12 06:59:19 -0600 |
commit | 43da39d3170e52fbb6972d808c6f1676abe8ea3e (patch) | |
tree | 10091638ae0aaa732ddff511f579afdeebe0e3c9 /docs/source/markdown/podman-pod-clone.1.md.in | |
parent | 4d202f067d284b5d18f17a7a0b227259871978fa (diff) | |
download | podman-43da39d3170e52fbb6972d808c6f1676abe8ea3e.tar.gz podman-43da39d3170e52fbb6972d808c6f1676abe8ea3e.tar.bz2 podman-43da39d3170e52fbb6972d808c6f1676abe8ea3e.zip |
Man pages: refactor common options: --volumes-from
Removed a spurious right-bracket; went with upper-case for options;
removed 'you's; added some <<container|pod>>s.
Hard to review because none of the existing man pages had it
quite right.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-pod-clone.1.md.in')
-rw-r--r-- | docs/source/markdown/podman-pod-clone.1.md.in | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/docs/source/markdown/podman-pod-clone.1.md.in b/docs/source/markdown/podman-pod-clone.1.md.in index 1d7b1f259..15f7ec208 100644 --- a/docs/source/markdown/podman-pod-clone.1.md.in +++ b/docs/source/markdown/podman-pod-clone.1.md.in @@ -124,39 +124,7 @@ clone process has completed. All containers within the pod are started. @@option volume -#### **--volumes-from**=*container[:options]]* - -Mount volumes from the specified container(s). Used to share volumes between -containers and pods. The *options* is a comma-separated list with the following available elements: - -* **rw**|**ro** -* **z** - -Mounts already mounted volumes from a source container into another -pod. Must supply the source's container-id or container-name. -To share a volume, use the --volumes-from option when running -the target container. Volumes can be shared even if the source container -is not running. - -By default, Podman mounts the volumes in the same mode (read-write or -read-only) as it is mounted in the source container. -This can be changed by adding a `ro` or `rw` _option_. - -Labeling systems like SELinux require that proper labels are placed on volume -content mounted into a pod. Without a label, the security system might -prevent the processes running inside the container from using the content. By -default, Podman does not change the labels set by the OS. - -To change a label in the pod context, add `z` to the volume mount. -This suffix tells Podman to relabel file objects on the shared volumes. The `z` -option tells Podman that two entities share the volume content. As a result, -Podman labels the content with a shared content label. Shared volume labels allow -all containers to read/write content. - -If the location of the volume from the source container overlaps with -data residing on a target pod, then the volume hides -that data on the target. - +@@option volumes-from ## EXAMPLES ``` |