Swap default mount propagation from private to rprivate

This matches Docker behavior more closely and should resolve an
issue we were seeing with /sys mounts

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #1465
Approved by: rhatdan
This commit is contained in:
Matthew Heon
2018-09-13 15:00:58 -04:00
committed by Atomic Bot
parent f0a3a4329e
commit e2137cd009
4 changed files with 12 additions and 12 deletions

View File

@ -13,7 +13,7 @@ func TestCreateConfig_GetVolumeMounts(t *testing.T) {
Destination: "/foobar",
Type: "bind",
Source: "foobar",
Options: []string{"ro", "rbind", "private"},
Options: []string{"ro", "rbind", "rprivate"},
}
config := CreateConfig{
Volumes: []string{"foobar:/foobar:ro"},