summaryrefslogtreecommitdiff
path: root/pkg/varlinkapi/containers_create.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-09-13 17:33:07 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-09-21 19:06:12 +0000
commit09f506930c1c585b12e9ad89044528da23d2851a (patch)
tree54494746c618a4597d4c2a57299879565b1aaa6c /pkg/varlinkapi/containers_create.go
parent4f42fe2e9e35a01181031ddca07c044647d7bf04 (diff)
downloadpodman-09f506930c1c585b12e9ad89044528da23d2851a.tar.gz
podman-09f506930c1c585b12e9ad89044528da23d2851a.tar.bz2
podman-09f506930c1c585b12e9ad89044528da23d2851a.zip
Don't mount /dev/shm if the user told you --ipc=none
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #1466 Approved by: mheon
Diffstat (limited to 'pkg/varlinkapi/containers_create.go')
-rw-r--r--pkg/varlinkapi/containers_create.go1
1 files changed, 0 insertions, 1 deletions
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,