github.com/hernad/nomad@v1.6.112/drivers/docker/driver_windows.go (about) 1 // Copyright (c) HashiCorp, Inc. 2 // SPDX-License-Identifier: MPL-2.0 3 4 //go:build windows 5 6 package docker 7 8 import docker "github.com/fsouza/go-dockerclient" 9 10 // Currently Windows containers don't support host ip in port binding. 11 func getPortBinding(ip string, port string) docker.PortBinding { 12 return docker.PortBinding{HostIP: "", HostPort: port} 13 } 14 15 func tweakCapabilities(basics, adds, drops []string) ([]string, error) { 16 return nil, nil 17 } 18 19 func setCPUSetCgroup(path string, pid int) error { 20 return nil 21 }