github.com/rish1988/moby@v25.0.2+incompatible/pkg/system/init_windows.go (about) 1 package system // import "github.com/docker/docker/pkg/system" 2 3 // containerdRuntimeSupported determines if containerd should be the runtime. 4 var containerdRuntimeSupported = false 5 6 // InitContainerdRuntime sets whether to use containerd for runtime on Windows. 7 func InitContainerdRuntime(cdPath string) { 8 if len(cdPath) > 0 { 9 containerdRuntimeSupported = true 10 } 11 } 12 13 // ContainerdRuntimeSupported returns true if the use of containerd runtime is supported. 14 func ContainerdRuntimeSupported() bool { 15 return containerdRuntimeSupported 16 }