@@ -1282,8 +1282,13 @@ in `Container.volumeMounts`. Its values are:
1282
1282
In similar fashion, no mounts created by the container will be visible on
1283
1283
the host. This is the default mode.
1284
1284
1285
- This mode is equal to `private` mount propagation as described in the
1286
- [Linux kernel documentation](https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt)
1285
+ This mode is equal to `rprivate` mount propagation as described in
1286
+ [`mount(8)`](https://man7.org/linux/man-pages/man8/mount.8.html)
1287
+
1288
+ However, the CRI runtime may choose `rslave` mount propagation (i.e.,
1289
+ ` HostToContainer` ) instead, when `rprivate` propagation is not applicable.
1290
+ cri-dockerd (Docker) is known to choose `rslave` mount propagation when the
1291
+ mount source contains the Docker daemon's root directory (`/var/lib/docker`).
1287
1292
1288
1293
* `HostToContainer` - This volume mount will receive all subsequent mounts
1289
1294
that are mounted to this volume or any of its subdirectories.
@@ -1296,7 +1301,7 @@ in `Container.volumeMounts`. Its values are:
1296
1301
propagation will see it.
1297
1302
1298
1303
This mode is equal to `rslave` mount propagation as described in the
1299
- [Linux kernel documentation ](https://www.kernel. org/doc/Documentation/filesystems/sharedsubtree.txt )
1304
+ [`mount(8)` ](https://man7. org/linux/man-pages/man8/mount.8.html )
1300
1305
1301
1306
* `Bidirectional` - This volume mount behaves the same the `HostToContainer` mount.
1302
1307
In addition, all volume mounts created by the container will be propagated
@@ -1306,7 +1311,7 @@ in `Container.volumeMounts`. Its values are:
1306
1311
a Pod that needs to mount something on the host using a `hostPath` volume.
1307
1312
1308
1313
This mode is equal to `rshared` mount propagation as described in the
1309
- [Linux kernel documentation ](https://www.kernel. org/doc/Documentation/filesystems/sharedsubtree.txt )
1314
+ [`mount(8)` ](https://man7. org/linux/man-pages/man8/mount.8.html )
1310
1315
1311
1316
{{< warning >}}
1312
1317
` Bidirectional` mount propagation can be dangerous. It can damage
0 commit comments