open-nomad/client/driver/docker_windows.go
2016-07-28 00:00:57 +02:00

9 lines
283 B
Go

package driver
import docker "github.com/fsouza/go-dockerclient"
//Currently Windows containers don't support host ip in port binding.
func getPortBinding(ip string, port string) []docker.PortBinding {
return []docker.PortBinding{docker.PortBinding{HostIP: "", HostPort: port}}
}