docker

package
v0.0.0-...-6c61ff5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client = &DockerClient{}

Functions

This section is empty.

Types

type DockerClient

type DockerClient struct {
	// contains filtered or unexported fields
}

func (*DockerClient) FindContainers

func (c *DockerClient) FindContainers() ([]string, error)

func (*DockerClient) RemoveAllContainers

func (c *DockerClient) RemoveAllContainers() error

func (*DockerClient) RemoveContainer

func (c *DockerClient) RemoveContainer(containerID string) error

func (*DockerClient) RemoveContainers

func (c *DockerClient) RemoveContainers(containerIDs []string) error

func (*DockerClient) Start

func (c *DockerClient) Start(image, imageName, name string, env []string, portMap nat.PortMap) (string, error)

func (*DockerClient) StopContainer

func (c *DockerClient) StopContainer(containerID string) error

func (*DockerClient) StopContainers

func (c *DockerClient) StopContainers(containerIDs []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL