summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-02 18:19:39 +0100
committerGitHub <noreply@github.com>2020-11-02 18:19:39 +0100
commit8dfbdb561be5e2313dfa9f665e1f184089c8e967 (patch)
tree5961684ec1483ee3fe45f40458d878e583e376ff /cmd/podman
parent7375a55757fe7615f133db5b097bb4db9a244888 (diff)
parent3ee44d942ed9ed8f0b5e0ad1f1949d4b8ffa95f9 (diff)
downloadpodman-8dfbdb561be5e2313dfa9f665e1f184089c8e967.tar.gz
podman-8dfbdb561be5e2313dfa9f665e1f184089c8e967.tar.bz2
podman-8dfbdb561be5e2313dfa9f665e1f184089c8e967.zip
Merge pull request #8166 from rhatdan/unbindable
Allow users to mount with unbindable flag
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/common/volumes.go2
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 {