summaryrefslogtreecommitdiff
path: root/libpod/container_internal_linux.go
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 /libpod/container_internal_linux.go
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 'libpod/container_internal_linux.go')
-rw-r--r--libpod/container_internal_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go
index bf74ca954..83d5c20cb 100644
--- a/libpod/container_internal_linux.go
+++ b/libpod/container_internal_linux.go
@@ -344,7 +344,7 @@ func (c *Container) generateSpec(ctx context.Context) (*spec.Spec, error) {
Type: "bind",
Source: srcPath,
Destination: dstPath,
- Options: []string{"bind", "private"},
+ Options: []string{"bind", "rprivate"},
}
if c.IsReadOnly() && dstPath != "/dev/shm" {
newMount.Options = append(newMount.Options, "ro", "nosuid", "noexec", "nodev")