Documentation ¶
Index ¶
- func ConnectNetwork(nameOrId, network, ip string) error
- func CreateNetwork(name, subnet string, masquerade bool) error
- func DeleteNetwork(name string) error
- func GetContainerHostIfacesIndex(name string) ([]string, error)
- func GetNetworkInterface(name string) (string, error)
- func ListNetwork() ([]string, error)
- func ReplaceGateway(name, gateway string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectNetwork ¶
func CreateNetwork ¶
CreateNetwork create a docker network with the passed parameters
func GetContainerHostIfacesIndex ¶
GetContainerHostIfacesIndex returns the interfaces name on the host of the container
func GetNetworkInterface ¶
func ListNetwork ¶
func ReplaceGateway ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.