diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-10-29 13:31:55 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-11-02 07:19:12 -0500 |
commit | 3ee44d942ed9ed8f0b5e0ad1f1949d4b8ffa95f9 (patch) | |
tree | 9f2043578fda18fc042a71bfc100e184b314fa19 /cmd/podman/common/volumes.go | |
parent | 2aaa036f560e2c42ebb033869eeef539dbc47fef (diff) | |
download | podman-3ee44d942ed9ed8f0b5e0ad1f1949d4b8ffa95f9.tar.gz podman-3ee44d942ed9ed8f0b5e0ad1f1949d4b8ffa95f9.tar.bz2 podman-3ee44d942ed9ed8f0b5e0ad1f1949d4b8ffa95f9.zip |
Add better support for unbindable volume mounts
Allow users to specify unbindable on volume command line
Switch internal mounts to rprivate to help prevent leaks.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/common/volumes.go')
-rw-r--r-- | cmd/podman/common/volumes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common/volumes.go b/cmd/podman/common/volumes.go index 8ab20ccae..b3c160ddf 100644 --- a/cmd/podman/common/volumes.go +++ b/cmd/podman/common/volumes.go @@ -313,7 +313,7 @@ func getBindMount(args []string) (spec.Mount, error) { } setExec = true newMount.Options = append(newMount.Options, kv[0]) - case "shared", "rshared", "private", "rprivate", "slave", "rslave", "Z", "z": + case "shared", "rshared", "private", "rprivate", "slave", "rslave", "unbindable", "runbindable", "Z", "z": newMount.Options = append(newMount.Options, kv[0]) case "bind-propagation": if len(kv) == 1 { |