github.com/rawahars/moby@v24.0.4+incompatible/daemon/start_windows.go (about) 1 package daemon // import "github.com/docker/docker/daemon" 2 3 import ( 4 "github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options" 5 "github.com/docker/docker/container" 6 "github.com/docker/docker/pkg/system" 7 ) 8 9 func (daemon *Daemon) getLibcontainerdCreateOptions(_ *container.Container) (string, interface{}, error) { 10 if system.ContainerdRuntimeSupported() { 11 opts := &options.Options{} 12 return "io.containerd.runhcs.v1", opts, nil 13 } 14 return "", nil, nil 15 }