Documentation ¶
Index ¶
- func CreateClient() (*client.Client, error)
- func CreateContainer(cli *client.Client, config ContainerConfig) (err error, created bool)
- func DeleteContainer(cli *client.Client, containerId string) error
- func EnsureRunningContainers(cli *client.Client, containerID string) error
- func GetContainerIDByName(cli *client.Client, containerName string) (string, error)
- func ListAllContariners(cli *client.Client) ([]types.Container, error)
- type ContainerConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateContainer ¶
func CreateContainer(cli *client.Client, config ContainerConfig) (err error, created bool)
func DeleteContainer ¶
deleteContainers deletes multiple Docker containers by their IDs
func EnsureRunningContainers ¶
func GetContainerIDByName ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.