mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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{
|
ctr := &container{
|
||||||
id: id,
|
id: id,
|
||||||
execs: make(map[string]*process),
|
execs: make(map[string]*process),
|
||||||
isWindows: true,
|
isWindows: false,
|
||||||
ociSpec: spec,
|
ociSpec: spec,
|
||||||
hcsContainer: hcsContainer,
|
hcsContainer: hcsContainer,
|
||||||
status: StatusCreated,
|
status: StatusCreated,
|
||||||
|
|
|
@ -65,6 +65,7 @@ func DefaultLinuxSpec() specs.Spec {
|
||||||
Effective: defaultCapabilities(),
|
Effective: defaultCapabilities(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Root: &specs.Root{},
|
||||||
}
|
}
|
||||||
s.Mounts = []specs.Mount{
|
s.Mounts = []specs.Mount{
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue