diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-12-24 08:43:10 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-24 08:43:10 -0800 |
commit | c50332d057a148f6ffa7879e99e969cf97af9878 (patch) | |
tree | f43b0228054882a212b9493f4fca9657918ab88d /pkg | |
parent | bbfe7341b7c03cba4a362ec1e1198ff3eb90d962 (diff) | |
parent | df99522c6794cbf9ea77c4c314dadf9e9b5b2a54 (diff) | |
download | podman-c50332d057a148f6ffa7879e99e969cf97af9878.tar.gz podman-c50332d057a148f6ffa7879e99e969cf97af9878.tar.bz2 podman-c50332d057a148f6ffa7879e99e969cf97af9878.zip |
Merge pull request #2051 from rhatdan/shm
Fixes to handle /dev/shm correctly.
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/spec/spec.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/spec/spec.go b/pkg/spec/spec.go index c90f16f7c..3d6603364 100644 --- a/pkg/spec/spec.go +++ b/pkg/spec/spec.go @@ -52,6 +52,8 @@ func CreateConfigToOCISpec(config *CreateConfig) (*spec.Spec, error) { //nolint if err != nil { return nil, err } + // Remove the default /dev/shm mount to ensure we overwrite it + g.RemoveMount("/dev/shm") g.HostSpecific = true addCgroup := true canMountSys := true |