github.com/tompao/docker@v1.9.1/daemon/execdriver/driver_windows.go (about) 1 package execdriver 2 3 import "github.com/docker/docker/pkg/nat" 4 5 // Network settings of the container 6 type Network struct { 7 Interface *NetworkInterface `json:"interface"` 8 ContainerID string `json:"container_id"` // id of the container to join network. 9 } 10 11 // NetworkInterface contains network configs for a driver 12 type NetworkInterface struct { 13 MacAddress string `json:"mac"` 14 Bridge string `json:"bridge"` 15 IPAddress string `json:"ip"` 16 17 // PortBindings is the port mapping between the exposed port in the 18 // container and the port on the host. 19 PortBindings nat.PortMap `json:"port_bindings"` 20 }