Merge pull request #3148 from masters-of-cats/wip-rootless-containerd

Skip rootfs unmount when no mounts are provided
This commit is contained in:
Michael Crosby
2019-05-07 10:39:02 -04:00
committed by GitHub
5 changed files with 33 additions and 13 deletions

View File

@@ -65,9 +65,6 @@ func newBundle(id, path, workDir string, spec []byte) (b *bundle, err error) {
os.RemoveAll(workDir)
}
}()
if err := os.Mkdir(filepath.Join(path, "rootfs"), 0711); err != nil {
return nil, err
}
err = ioutil.WriteFile(filepath.Join(path, configFilename), spec, 0666)
return &bundle{
id: id,