18 lines
452 B
Go
18 lines
452 B
Go
package driver
|
|
|
|
import docker "github.com/fsouza/go-dockerclient"
|
|
|
|
const (
|
|
// Default network mode for windows containers is nat
|
|
defaultNetworkMode = "nat"
|
|
)
|
|
|
|
//Currently Windows containers don't support host ip in port binding.
|
|
func getPortBinding(ip string, port string) []docker.PortBinding {
|
|
return []docker.PortBinding{{HostIP: "", HostPort: port}}
|
|
}
|
|
|
|
func tweakCapabilities(basics, adds, drops []string) ([]string, error) {
|
|
return nil, nil
|
|
}
|