summaryrefslogtreecommitdiff
path: root/libpod/runtime_pod_infra_linux.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-30 16:54:00 +0100
committerGitHub <noreply@github.com>2020-10-30 16:54:00 +0100
commit6b5a94cf2831df0633cc03a28f432177c0ee1d7b (patch)
treeeff47a0f64811a5c8d98c2aa474a445d5a69e07e /libpod/runtime_pod_infra_linux.go
parent3db54bacaa479bb4ef3bbdea724f892b08cd76d1 (diff)
parent916825b6753086d7712ba593e5381b9bd49aae96 (diff)
downloadpodman-6b5a94cf2831df0633cc03a28f432177c0ee1d7b.tar.gz
podman-6b5a94cf2831df0633cc03a28f432177c0ee1d7b.tar.bz2
podman-6b5a94cf2831df0633cc03a28f432177c0ee1d7b.zip
Merge pull request #8192 from rhatdan/shm
Pod's that share the IPC Namespace need to share /dev/shm
Diffstat (limited to 'libpod/runtime_pod_infra_linux.go')
-rw-r--r--libpod/runtime_pod_infra_linux.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/runtime_pod_infra_linux.go b/libpod/runtime_pod_infra_linux.go
index 7f58e86d8..76419587a 100644
--- a/libpod/runtime_pod_infra_linux.go
+++ b/libpod/runtime_pod_infra_linux.go
@@ -131,6 +131,7 @@ func (r *Runtime) makeInfraContainer(ctx context.Context, p *Pod, imgName, rawIm
logrus.Debugf("Using %q as infra container entrypoint", entryCmd)
+ g.RemoveMount("/dev/shm")
if isRootless {
g.RemoveMount("/dev/pts")
devPts := spec.Mount{