Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix comment lines about the default mount propagation
dockerd's default propagation is "rprivate", not "private": https://github.com/moby/moby/blob/v20.10.23/volume/mounts/linux_parser.go#L145 However, dockerd automatically changes the default propagation to "rslave" when the mount source contains the daemon root (`/var/lib/docker`): - https://github.com/moby/moby/blob/v20.10.23/daemon/volumes.go#L137-L143 - https://github.com/moby/moby/blob/v20.10.23/daemon/volumes_linux.go#L11-L36 This behavior was introduced in Docker 18.03 (moby/moby PR 36055). Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
- Loading branch information