Merge pull request #774 from rhatdan/rbind

CRI-O default bind mounts to "rbind, rprivate" to match docker
This commit is contained in:
Mrunal Patel 2017-08-17 08:30:25 -07:00 committed by GitHub
commit efc29e3dd2

View file

@ -62,6 +62,7 @@ func addOCIBindMounts(sb *sandbox.Sandbox, containerConfig *pb.ContainerConfig,
if mount.Readonly {
options = []string{"ro"}
}
options = append(options, []string{"rbind", "rprivate"}...)
if mount.SelinuxRelabel {
// Need a way in kubernetes to determine if the volume is shared or private