mirror of
https://github.com/containers/podman.git
synced 2025-10-14 09:45:59 +08:00
Add Linux Root Propagation to kpod create and run
Add [r]shared, [r]private, [r]slave functionality to the --volume flag for kpod create and kpod run This sets the root propagation for each bind mount Signed-off-by: umohnani8 <umohnani@redhat.com> Closes: #87 Approved by: rhatdan
This commit is contained in:
@ -13,7 +13,7 @@ func TestCreateConfig_GetVolumeMounts(t *testing.T) {
|
||||
Destination: "/foobar",
|
||||
Type: "bind",
|
||||
Source: "foobar",
|
||||
Options: []string{"ro", "rbind"},
|
||||
Options: []string{"ro", "rbind", "rprivate"},
|
||||
}
|
||||
config := createConfig{
|
||||
volumes: []string{"foobar:/foobar:ro"},
|
||||
|
Reference in New Issue
Block a user