Merge pull request #35320 from Microsoft/jjh/lcow-set-oci-root
Fixes LCOW after containerd 1.0 introduced regressions Upstream-commit: 2613c3d53cee46d8e0dc8e1aba83686f259985e4 Component: engine
This commit is contained in:
@ -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{
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user