github.com/hhrutter/nomad@v0.6.0-rc2.0.20170723054333-80c4b03f0705/client/driver/docker_windows.go (about) 1 package driver 2 3 import docker "github.com/fsouza/go-dockerclient" 4 5 const ( 6 // Default network mode for windows containers is nat 7 defaultNetworkMode = "nat" 8 ) 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{docker.PortBinding{HostIP: "", HostPort: port}} 13 }