mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Windows: Run containerd as managed process
Signed-off-by: Charity Kathure <ckathure@microsoft.com> Co-authored-by: Olli Janatuinen <olli.janatuinen@gmail.com>
This commit is contained in:
@@ -3,8 +3,8 @@ package system // import "github.com/docker/docker/pkg/system"
|
||||
// containerdRuntimeSupported determines if containerd should be the runtime.
|
||||
var containerdRuntimeSupported = false
|
||||
|
||||
// InitContainerdRuntime sets whether to use containerd for runtime on Windows.
|
||||
func InitContainerdRuntime(cdPath string) {
|
||||
// EnableContainerdRuntime sets whether to use containerd for runtime on Windows.
|
||||
func EnableContainerdRuntime(cdPath string) {
|
||||
if len(cdPath) > 0 {
|
||||
containerdRuntimeSupported = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user