Fixes LCOW after containerd 1.0 introduced regressions

Signed-off-by: John Howard <jhoward@microsoft.com>
Upstream-commit: 71651e0b801ae874b4a899e3c47add9e3fbc2400
Component: engine
This commit is contained in:
John Howard
2017-10-27 09:55:43 -07:00
parent 7184497162
commit 67f37f6e34
2 changed files with 2 additions and 1 deletions
@@ -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,
+1
View File
@@ -65,6 +65,7 @@ func DefaultLinuxSpec() specs.Spec {
Effective: defaultCapabilities(),
},
},
Root: &specs.Root{},
}
s.Mounts = []specs.Mount{
{