Fixes LCOW after containerd 1.0 introduced regressions
@@ -513,7 +513,7 @@ func (c *client) createLinux(id string, spec *specs.Spec, runtimeOptions interfa
ctr := &container{
id: id,
execs: make(map[string]*process),
- isWindows: true,
+ isWindows: false,
ociSpec: spec,
hcsContainer: hcsContainer,
status: StatusCreated,
@@ -65,6 +65,7 @@ func DefaultLinuxSpec() specs.Spec {
Effective: defaultCapabilities(),
},
+ Root: &specs.Root{},
}
s.Mounts = []specs.Mount{
{