From 09f506930c1c585b12e9ad89044528da23d2851a Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 13 Sep 2018 17:33:07 -0400 Subject: Don't mount /dev/shm if the user told you --ipc=none Signed-off-by: Daniel J Walsh Closes: #1466 Approved by: mheon --- pkg/varlinkapi/containers_create.go | 1 - 1 file changed, 1 deletion(-) (limited to 'pkg/varlinkapi') diff --git a/pkg/varlinkapi/containers_create.go b/pkg/varlinkapi/containers_create.go index 843d7a5ba..ca1a57048 100644 --- a/pkg/varlinkapi/containers_create.go +++ b/pkg/varlinkapi/containers_create.go @@ -202,7 +202,6 @@ func varlinkCreateToCreateConfig(ctx context.Context, create iopodman.Create, ru Ulimit: create.Resources.Ulimit, }, Rm: create.Rm, - ShmDir: create.Shm_dir, StopSignal: stopSignal, StopTimeout: uint(create.Stop_timeout), Sysctl: create.Sys_ctl, -- cgit v1.2.3-54-g00ecf