Fixes LCOW after containerd 1.0 introduced regressions

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2017-10-26 14:16:43 -07:00
parent 074b1fc47b
commit 71651e0b80
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -65,6 +65,7 @@ func DefaultLinuxSpec() specs.Spec {
Effective: defaultCapabilities(),
},
},
Root: &specs.Root{},
}
s.Mounts = []specs.Mount{
{