Versions in this module Expand all Collapse all v0 v0.1.1 Sep 1, 2022 v0.1.0 Sep 1, 2022 Changes in this version + type DockerClient struct + func NewDockerClient() (*DockerClient, error) + func (c *DockerClient) Close() error + func (c *DockerClient) CreateContainer(image string) *DockerContainer + func (c *DockerClient) FindContainerByName(name string) (containerID string, err error) + func (c *DockerClient) GetContainerState(containerID string) (string, error) + func (c *DockerClient) ListContainersByLabel(label, value string) (result []string, err error) + func (c *DockerClient) ListContainersByState(state string) (result []string, err error) + func (c *DockerClient) RemoveContainer(containerID string) error + type DockerContainer struct + func (c *DockerContainer) AutoRemove(value bool) *DockerContainer + func (c *DockerContainer) EntryPoint(args ...string) *DockerContainer + func (c *DockerContainer) Label(label, value string) *DockerContainer + func (c *DockerContainer) Labels(label map[string]string) *DockerContainer + func (c *DockerContainer) Name(value string) *DockerContainer + func (c *DockerContainer) Port(external, internal string) *DockerContainer + func (c *DockerContainer) Ports(ports map[string]string) *DockerContainer + func (c *DockerContainer) Run() (containerID string, err error) + func (c *DockerContainer) Var(key, value string) *DockerContainer + func (c *DockerContainer) Vars(vars map[string]string) *DockerContainer