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:
parent
815bb7652b
commit
4e2c6911ad
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ func addOCIBindMounts(mountLabel string, containerConfig *pb.ContainerConfig, sp
|
||||||
if mount.Readonly {
|
if mount.Readonly {
|
||||||
options = []string{"ro"}
|
options = []string{"ro"}
|
||||||
}
|
}
|
||||||
options = append(options, []string{"rbind", "rprivate"}...)
|
options = append(options, "rbind")
|
||||||
|
|
||||||
// mount propagation
|
// mount propagation
|
||||||
mountInfos, err := dockermounts.GetMounts()
|
mountInfos, err := dockermounts.GetMounts()
|
||||||
|
|
Loading…
Reference in a new issue