diff options
Diffstat (limited to 'runsc/container/container.go')
-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 9da25a863..4c542ccb9 100644 --- a/runsc/container/container.go +++ b/runsc/container/container.go @@ -374,6 +374,9 @@ func (c *Container) Start(conf *boot.Config) error { return fmt.Errorf("setup mounts: %v", err) } c.Spec.Mounts = cleanMounts + if err := specutils.WriteCleanSpec(c.BundleDir, c.Spec); err != nil { + return fmt.Errorf("writing clean spec: %v", err) + } // Create the gofer process. ioFiles, err := c.createGoferProcess(c.Spec, conf, c.BundleDir) |