mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Merge pull request #14405 from rhatdan/docs
[CI:DOCS] Mount propagation works with named volumes
This commit is contained in:
@ -1409,12 +1409,10 @@ will be visible inside container but not the other way around. <sup>[[1]](#Footn
|
||||
|
||||
To control mount propagation property of a volume one can use the [**r**]**shared**,
|
||||
[**r**]**slave**, [**r**]**private** or the [**r**]**unbindable** propagation flag.
|
||||
Propagation property can be specified only for bind mounted volumes and not for
|
||||
internal volumes or named volumes. For mount propagation to work the source mount
|
||||
point (the 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 point has to be either shared or slave.
|
||||
<sup>[[1]](#Footnote1)</sup>
|
||||
For mount propagation to work the source mount point (the 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 point
|
||||
has to be either shared or slave. <sup>[[1]](#Footnote1)</sup>
|
||||
|
||||
If you want to recursively mount a volume and all of its submounts into a
|
||||
container, then you can use the `rbind` option. By default the bind option is
|
||||
|
Reference in New Issue
Block a user