mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-27 04:28:20 +00:00
Merge pull request #210 from justincormack/bind-shared
Default bind mounts to rshared not rprivate if not specified
This commit is contained in:
commit
f1ae82c9eb
@ -785,7 +785,8 @@ func ConfigInspectToOCI(yaml *Image, inspect types.ImageInspect, idMap map[strin
|
|||||||
}
|
}
|
||||||
src := parts[0]
|
src := parts[0]
|
||||||
dest := parts[1]
|
dest := parts[1]
|
||||||
opts := []string{"rw", "rbind", "rprivate"}
|
// default to rshared if not specified
|
||||||
|
opts := []string{"rw", "rbind", "rshared"}
|
||||||
if len(parts) == 3 {
|
if len(parts) == 3 {
|
||||||
opts = append(strings.Split(parts[2], ","), "rbind")
|
opts = append(strings.Split(parts[2], ","), "rbind")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user