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:
parent
6aae4a4da0
commit
f0843e94cf
|
|
@ -282,7 +282,7 @@ func createConfigToOCISpec(config *createConfig) (*spec.Spec, error) {
|
||||||
options = strings.Split(spliti[1], ",")
|
options = strings.Split(spliti[1], ",")
|
||||||
}
|
}
|
||||||
// Default options if nothing passed
|
// Default options if nothing passed
|
||||||
g.AddTmpfsMount(spliti[0], options)
|
g.AddTmpfsMount(spliti[0], append(options, "tmpcopyup"))
|
||||||
}
|
}
|
||||||
|
|
||||||
for name, val := range config.Env {
|
for name, val := range config.Env {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue