github.com/ilhicas/nomad@v0.11.8/drivers/docker/driver_windows.go (about)

     1  package docker
     2  
     3  import docker "github.com/fsouza/go-dockerclient"
     4  
     5  //Currently Windows containers don't support host ip in port binding.
     6  func getPortBinding(ip string, port string) []docker.PortBinding {
     7  	return []docker.PortBinding{{HostIP: "", HostPort: port}}
     8  }
     9  
    10  func tweakCapabilities(basics, adds, drops []string) ([]string, error) {
    11  	return nil, nil
    12  }