2016-07-27 21:57:40 +00:00
|
|
|
package driver
|
|
|
|
|
|
|
|
import docker "github.com/fsouza/go-dockerclient"
|
|
|
|
|
2016-08-04 21:11:06 +00:00
|
|
|
const (
|
|
|
|
//Default network mode for windows containers is nat
|
|
|
|
defaultNetworkMode = "nat"
|
|
|
|
)
|
|
|
|
|
2016-07-27 21:57:40 +00:00
|
|
|
//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}}
|
|
|
|
}
|