diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-09-17 19:08:05 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-17 19:08:05 +0000 |
commit | 5ecebda34332d0368794efe3f4e30e4fbbe523a0 (patch) | |
tree | fac9be03c9f4156ca12fea4ab14aaff8f888bc0d /runsc/container | |
parent | c346af254716333f3a5820a720a195c770ae2204 (diff) |
Merge release-20200907.0-123-gf0b1bd434 (automated)
Diffstat (limited to 'runsc/container')
-rw-r--r-- | runsc/container/container.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runsc/container/container.go b/runsc/container/container.go index 63478ba8c..6e1d6a568 100644 --- a/runsc/container/container.go +++ b/runsc/container/container.go @@ -902,6 +902,9 @@ func (c *Container) createGoferProcess(spec *specs.Spec, conf *config.Config, bu } args = append(args, "gofer", "--bundle", bundleDir) + if conf.Overlay { + args = append(args, "--panic-on-write=true") + } // Open the spec file to donate to the sandbox. specFile, err := specutils.OpenSpec(bundleDir) |