Versions in this module Expand all Collapse all v0 v0.4.1 Apr 4, 2026 v0.4.0 Mar 24, 2026 Changes in this version + const ManagedLabel + type Client struct + func NewClient() (*Client, error) + func (c *Client) Close() error + func (c *Client) CopyDirToContainer(ctx context.Context, containerID, localDir, destDir string) error + func (c *Client) CreateContainer(ctx context.Context, opts ContainerOpts) (string, error) + func (c *Client) CreateNetwork(ctx context.Context, name string) (string, error) + func (c *Client) CreateServiceContainer(ctx context.Context, opts ContainerOpts) (string, error) + func (c *Client) ExecInContainer(ctx context.Context, containerID string, opts ExecOpts) (*ExecResult, error) + func (c *Client) ExecStreaming(ctx context.Context, containerID string, opts ExecOpts, ...) (int, error) + func (c *Client) ImageExists(ctx context.Context, imageName string) (bool, error) + func (c *Client) OpenInteractiveShell(ctx context.Context, containerID, workDir string) error + func (c *Client) Ping(ctx context.Context) error + func (c *Client) PullImage(ctx context.Context, imageName string) error + func (c *Client) Raw() *dockerclient.Client + func (c *Client) RemoveNetwork(ctx context.Context, networkID string) + func (c *Client) StartContainer(ctx context.Context, containerID string) error + func (c *Client) StopAndRemove(ctx context.Context, containerID string) error + func (c *Client) WaitContainer(ctx context.Context, containerID string) (int, error) + func (c *Client) WriteScript(ctx context.Context, containerID, path, content string) error + type ContainerOpts struct + Binds []string + Env []string + Image string + Labels map[string]string + Name string + Network string + WorkDir string + type ExecOpts struct + Cmd []string + Env []string + Stdin bool + TTY bool + WorkDir string + type ExecResult struct + ExitCode int + Stderr string + Stdout string