aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-01-10 07:55:21 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-01-10 19:14:07 +0000
commitf0843e94cf6ce780bd36e72cc1e754fce900c608 (patch)
tree29991bb0098a607aed7ad556cea26ba5bb575ab4 /cmd
parent6aae4a4da066d37ff05ede8e9306b830a47a72c1 (diff)
downloadpodman-f0843e94cf6ce780bd36e72cc1e754fce900c608.tar.gz
podman-f0843e94cf6ce780bd36e72cc1e754fce900c608.tar.bz2
podman-f0843e94cf6ce780bd36e72cc1e754fce900c608.zip
Default to always copyup the underlying directory on top of tmpfs mounts
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #204 Approved by: mheon
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/spec.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/spec.go b/cmd/podman/spec.go
index 96eb2f6ee..342b80d9e 100644
--- a/cmd/podman/spec.go
+++ b/cmd/podman/spec.go
@@ -282,7 +282,7 @@ func createConfigToOCISpec(config *createConfig) (*spec.Spec, error) {
options = strings.Split(spliti[1], ",")
}
// Default options if nothing passed
- g.AddTmpfsMount(spliti[0], options)
+ g.AddTmpfsMount(spliti[0], append(options, "tmpcopyup"))
}
for name, val := range config.Env {