Documentation ¶
Index ¶
- Constants
- func ContainerCreate(name, image, networkName string, cmd []string) (*types.ContainerJSON, error)
- func ContainerInspect(id string) (*types.ContainerJSON, error)
- func ContainerList(filters map[string][]string) ([]types.Container, error)
- func ContainerRemove(id string) error
- func Exec(id string, env []string, cmd ...string) (stdout, stderr []byte, err error)
- func NetworkConnect(networkID, containerID string) error
- func NetworkCreate(name string, ipv6, skipIfExists bool) (*network.Inspect, error)
- func NetworkDisconnect(networkID, containerID string) error
- func NetworkInspect(name string) (*network.Inspect, error)
- func NetworkRemove(networkID string) error
- type ErrNonZeroExitCode
Constants ¶
View Source
const MTU = 1500
Variables ¶
This section is empty.
Functions ¶
func ContainerCreate ¶
func ContainerCreate(name, image, networkName string, cmd []string) (*types.ContainerJSON, error)
func ContainerInspect ¶
func ContainerInspect(id string) (*types.ContainerJSON, error)
func ContainerRemove ¶
func NetworkConnect ¶
func NetworkCreate ¶
func NetworkDisconnect ¶
func NetworkRemove ¶ added in v1.12.0
Types ¶
type ErrNonZeroExitCode ¶
func (ErrNonZeroExitCode) Error ¶
func (e ErrNonZeroExitCode) Error() string
Click to show internal directories.
Click to hide internal directories.