|
@@ -411,6 +411,14 @@ will convert /foo into a `shared` mount point. Alternatively one can directly
|
|
change propagation properties of source mount. Say `/` is source mount for
|
|
change propagation properties of source mount. Say `/` is source mount for
|
|
`/foo`, then use `mount --make-shared /` to convert `/` into a `shared` mount.
|
|
`/foo`, then use `mount --make-shared /` to convert `/` into a `shared` mount.
|
|
|
|
|
|
|
|
+> **Note**:
|
|
|
|
+> When using systemd to manage the Docker daemon's start and stop, in the systemd
|
|
|
|
+> unit file there is an option to control mount propagation for the Docker daemon
|
|
|
|
+> itself, called `MountFlags`. The value of this setting may cause Docker to not
|
|
|
|
+> see mount propagation changes made on the mount point. For example, if this value
|
|
|
|
+> is `slave`, you may not be able to use the `shared` or `rshared` propagation on
|
|
|
|
+> a volume.
|
|
|
|
+
|
|
**--volume-driver**=""
|
|
**--volume-driver**=""
|
|
Container's volume driver. This driver creates volumes specified either from
|
|
Container's volume driver. This driver creates volumes specified either from
|
|
a Dockerfile's `VOLUME` instruction or from the `docker run -v` flag.
|
|
a Dockerfile's `VOLUME` instruction or from the `docker run -v` flag.
|