diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2022-05-28 07:06:16 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2022-06-14 16:12:11 -0400 |
commit | ef3197885e92a4604823a739cbdc732b41b4ab31 (patch) | |
tree | 325784672eba68dac704d915329dc9ca4dc3fa90 /docs/source/markdown/podman-build.1.md | |
parent | 31c3229c9a525002c446b6314c07c5d75256d887 (diff) | |
download | podman-ef3197885e92a4604823a739cbdc732b41b4ab31.tar.gz podman-ef3197885e92a4604823a739cbdc732b41b4ab31.tar.bz2 podman-ef3197885e92a4604823a739cbdc732b41b4ab31.zip |
Mount propagation works with named volumes
Fixes: https://github.com/containers/podman/issues/13939
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-build.1.md')
-rw-r--r-- | docs/source/markdown/podman-build.1.md | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/source/markdown/podman-build.1.md b/docs/source/markdown/podman-build.1.md index a386abd99..6f91b8898 100644 --- a/docs/source/markdown/podman-build.1.md +++ b/docs/source/markdown/podman-build.1.md @@ -882,12 +882,10 @@ container. When the mount propagation policy is set to `slave`, one way mount propagation is enabled and any mounts completed on the host for that volume will be visible only inside of the container. To control the mount propagation property of volume use the `:[r]shared`, `:[r]slave` or `:[r]private` -propagation flag. The propagation property can be specified only for bind mounted -volumes and not for internal volumes or named volumes. For mount propagation to -work on the source mount point (mount point where source dir is mounted on) has -to have the right propagation properties. For shared volumes, the source mount -point has to be shared. And for slave volumes, the source mount has to be either -shared or slave. <sup>[[1]](#Footnote1)</sup> +propagation flag. For mount propagation to work on the source mount point (mount +point where source dir is mounted on) has to have the right propagation properties. +For shared volumes, the source mount point has to be shared. And for slave volumes, +the source mount has to be either shared or slave. <sup>[[1]](#Footnote1)</sup> Use `df <source-dir>` to determine the source mount and then use `findmnt -o TARGET,PROPAGATION <source-mount-dir>` to determine propagation |