Make / rshared

Previously only `/var` was `rshared` but some people need to share
mounts in `/opt` etc so let us make everything `rshared` for now.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-04-12 13:10:46 +01:00
parent 09e7b15dd9
commit 3c326bebdf
14 changed files with 16 additions and 13 deletions

View File

@@ -109,3 +109,6 @@ mount -o remount,ro /
mount -o bind /var /var
mount -o remount,rw,nodev,nosuid,noexec,relatime /var /var
mount --make-rshared /var
# make / rshared
mount --make-rshared /