container: Don't add rprivate to all mounts

This fixes the mount propagation tests

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
This commit is contained in:
Mrunal Patel 2017-10-20 15:17:15 -07:00 committed by Antonio Murdaca
parent 815bb7652b
commit 4e2c6911ad
No known key found for this signature in database
GPG key ID: B2BEAD150DE936B9

View file

@ -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()