Fixes LCOW after containerd 1.0 introduced regressions
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
074b1fc47b
commit
71651e0b80
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,
|
||||
|
|
|
@ -65,6 +65,7 @@ func DefaultLinuxSpec() specs.Spec {
|
|||
Effective: defaultCapabilities(),
|
||||
},
|
||||
},
|
||||
Root: &specs.Root{},
|
||||
}
|
||||
s.Mounts = []specs.Mount{
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue