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
This commit is contained in:
Daniel J Walsh
2018-01-10 07:55:21 -05:00
committed by Atomic Bot
parent 6aae4a4da0
commit f0843e94cf

View File

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