From 2e324e0f70e577dd4f52c0877702bbebf1dff17a 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 4f41d211..7aadab3b 100644 --- a/server/container_create.go +++ b/server/container_create.go @@ -77,7 +77,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()