mirror of https://github.com/docker/docs.git
Windows: Tidy after libcontainerd
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
9ea7e082ef
commit
3ca6ad5b9e
|
@ -175,23 +175,6 @@ func (daemon *Daemon) createSpec(c *container.Container) (*libcontainerd.Spec, e
|
||||||
//TODO SandboxSize: ...,
|
//TODO SandboxSize: ...,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
// BUGBUG - Next problem. This was an exec opt. Where do we now get these?
|
|
||||||
// Come back to this when add Xenon support.
|
|
||||||
// var hvPartition bool
|
|
||||||
// // Work out the isolation (whether it is a hypervisor partition)
|
|
||||||
// if c.HostConfig.Isolation.IsDefault() {
|
|
||||||
// // Not specified by caller. Take daemon default
|
|
||||||
// hvPartition = windows.DefaultIsolation.IsHyperV()
|
|
||||||
// } else {
|
|
||||||
// // Take value specified by caller
|
|
||||||
// hvPartition = c.HostConfig.Isolation.IsHyperV()
|
|
||||||
// }
|
|
||||||
|
|
||||||
// Isolation: string(c.HostConfig.Isolation),
|
|
||||||
// HvPartition: hvPartition,
|
|
||||||
// }
|
|
||||||
|
|
||||||
return (*libcontainerd.Spec)(&s), nil
|
return (*libcontainerd.Spec)(&s), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue