Versions in this module Expand all Collapse all v0 v0.1.1 May 27, 2026 v0.1.0 May 26, 2026 Changes in this version + type Client struct + func NewClient(opts ...ClientOption) (*Client, error) + func (c *Client) ContainerCopy(ctx context.Context, srcPath, containerName, destPath string) error + func (c *Client) ContainerCopyContent(ctx context.Context, content []byte, containerName, destPath string, ...) error + func (c *Client) ContainerCreate(ctx context.Context, opts *ContainerCreateOptions) (string, error) + func (c *Client) ContainerExec(ctx context.Context, name string, cmd []string) (string, error) + func (c *Client) ContainerExecInteractive(ctx context.Context, name string, cmd []string) error + func (c *Client) ContainerExecQuiet(ctx context.Context, name string, cmd []string) error + func (c *Client) ContainerExists(ctx context.Context, name string) (bool, error) + func (c *Client) ContainerInspect(ctx context.Context, name, format string) (string, error) + func (c *Client) ContainerList(ctx context.Context, filter string) ([]string, error) + func (c *Client) ContainerRemove(ctx context.Context, name string, force bool) error + func (c *Client) ContainerRunQuiet(ctx context.Context, image string, cmd []string, volumeMounts []string) error + func (c *Client) ContainerStart(ctx context.Context, name string) error + func (c *Client) ContainerStatus(ctx context.Context, name string) (string, error) + func (c *Client) ContainerStop(ctx context.Context, name string) error + func (c *Client) ContainerWait(ctx context.Context, name string) (int64, error) + func (c *Client) EnsureImage(ctx context.Context, image string) error + func (c *Client) GetPublishedPort(ctx context.Context, containerName, containerPort string) (int, error) + func (c *Client) ImageExists(ctx context.Context, name string) (bool, error) + func (c *Client) ImageInspectLabels(ctx context.Context, name string) (map[string]string, error) + func (c *Client) ImagePull(ctx context.Context, rawImage string, skipTLSVerify bool) ([]string, error) + func (c *Client) ImagePush(ctx context.Context, source, destination string, skipTLSVerify bool) error + func (c *Client) ImageRemove(ctx context.Context, names []string, force bool) error + func (c *Client) ImageTag(ctx context.Context, nameOrID, tag, repo string) error + func (c *Client) NetworkCreate(ctx context.Context, name, subnet string) error + func (c *Client) NetworkExists(ctx context.Context, name string) (bool, error) + func (c *Client) NetworkInspect(ctx context.Context, name, format string) (string, error) + func (c *Client) NetworkRemove(ctx context.Context, name string) error + func (c *Client) VolumeCreate(ctx context.Context, name string, labels map[string]string) error + func (c *Client) VolumeExists(ctx context.Context, name string) (bool, error) + func (c *Client) VolumeInspectLabels(ctx context.Context, name string) (map[string]string, error) + func (c *Client) VolumeList(ctx context.Context, filter string) ([]string, error) + func (c *Client) VolumeRemove(ctx context.Context, name string) error + type ClientOption func(*Client) + type ContainerCreateOptions struct + CapAdd []string + Command []string + Devices []specs.LinuxDevice + Entrypoint []string + Environment map[string]string + Image string + ImageVolumes []*specgen.ImageVolume + Labels map[string]string + Mounts []specs.Mount + Name string + Network string + NetworkOptions map[string]nettypes.PerNetworkOptions + PortMappings []nettypes.PortMapping + Privileged bool + SelinuxOpts []string + Volumes []*specgen.NamedVolume