Merge pull request #774 from rhatdan/rbind
CRI-O default bind mounts to "rbind, rprivate" to match docker
This commit is contained in:
commit
efc29e3dd2
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue