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 (
|
2016-08-05 17:47:44 +00:00
|
|
|
// Default network mode for windows containers is nat
|
2016-08-04 21:11:06 +00:00
|
|
|
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 {
|
2017-09-26 22:26:33 +00:00
|
|
|
return []docker.PortBinding{{HostIP: "", HostPort: port}}
|
2016-07-27 21:57:40 +00:00
|
|
|
}
|
2018-01-21 11:14:24 +00:00
|
|
|
|
|
|
|
func tweakCapabilities(basics, adds, drops []string) ([]string, error) {
|
|
|
|
return nil, nil
|
|
|
|
}
|