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
This commit is contained in:
Daniel J Walsh
2018-09-13 17:33:07 -04:00
committed by Atomic Bot
parent 4f42fe2e9e
commit 09f506930c
3 changed files with 11 additions and 16 deletions

View File

@ -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,