From 4e2c6911ad39d6fc85fa72f018df9492b48d183f Mon Sep 17 00:00:00 2001 From: Mrunal Patel Date: Fri, 20 Oct 2017 15:17:15 -0700 Subject: [PATCH] container: Don't add rprivate to all mounts This fixes the mount propagation tests Signed-off-by: Mrunal Patel --- server/container_create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/container_create.go b/server/container_create.go index 07d9fd21..e8763a0d 100644 --- a/server/container_create.go +++ b/server/container_create.go @@ -103,7 +103,7 @@ func addOCIBindMounts(mountLabel string, containerConfig *pb.ContainerConfig, sp if mount.Readonly { options = []string{"ro"} } - options = append(options, []string{"rbind", "rprivate"}...) + options = append(options, "rbind") // mount propagation mountInfos, err := dockermounts.GetMounts()