diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-10-30 16:54:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-30 16:54:00 +0100 |
commit | 6b5a94cf2831df0633cc03a28f432177c0ee1d7b (patch) | |
tree | eff47a0f64811a5c8d98c2aa474a445d5a69e07e /pkg | |
parent | 3db54bacaa479bb4ef3bbdea724f892b08cd76d1 (diff) | |
parent | 916825b6753086d7712ba593e5381b9bd49aae96 (diff) | |
download | podman-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 'pkg')
-rw-r--r-- | pkg/specgen/generate/namespaces.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/specgen/generate/namespaces.go b/pkg/specgen/generate/namespaces.go index 7e4f09dc4..55a0118cb 100644 --- a/pkg/specgen/generate/namespaces.go +++ b/pkg/specgen/generate/namespaces.go @@ -127,6 +127,7 @@ func namespaceOptions(ctx context.Context, s *specgen.SpecGenerator, rt *libpod. return nil, errNoInfra } toReturn = append(toReturn, libpod.WithIPCNSFrom(infraCtr)) + toReturn = append(toReturn, libpod.WithShmDir(infraCtr.ShmDir())) case specgen.FromContainer: ipcCtr, err := rt.LookupContainer(s.IpcNS.Value) if err != nil { |