Versions in this module Expand all Collapse all v0 v0.1.1 Apr 19, 2026 v0.1.0 Apr 19, 2026 Changes in this version + var ErrContainerTerminal = errors.New("container in terminal state") + func LoadDockerConfig() (*configfile.ConfigFile, error) + type Client struct + func NewClient(ctx context.Context, log log.Logger) (*Client, error) + type DockerBuilder int + const DockerBuilderBuildKit + const DockerBuilderBuildX + const DockerBuilderDefault + func DockerBuilderFromString(s string) (DockerBuilder, error) + func (db DockerBuilder) String() string + type DockerHelper struct + Builder DockerBuilder + ContainerID string + DockerCommand string + Environment []string + Log log.Logger + func (r *DockerHelper) DeleteVolume(ctx context.Context, volume string) error + func (r *DockerHelper) FindContainer(ctx context.Context, labels []string) ([]string, error) + func (r *DockerHelper) FindContainerByID(ctx context.Context, containerIds []string) (*config.ContainerDetails, error) + func (r *DockerHelper) FindContainerJSON(ctx context.Context, labels []string) ([]string, error) + func (r *DockerHelper) FindDevContainer(ctx context.Context, labels []string) (*config.ContainerDetails, error) + func (r *DockerHelper) GPUSupportEnabled() (bool, error) + func (r *DockerHelper) GetContainerLogs(ctx context.Context, id string, stdout io.Writer, stderr io.Writer) error + func (r *DockerHelper) GetImageTag(ctx context.Context, imageID string) (string, error) + func (r *DockerHelper) Inspect(ctx context.Context, ids []string, inspectType string, obj any) error + func (r *DockerHelper) InspectContainers(ctx context.Context, ids []string) ([]config.ContainerDetails, error) + func (r *DockerHelper) InspectImage(ctx context.Context, imageName string, tryRemote bool) (*config.ImageDetails, error) + func (r *DockerHelper) IsNerdctl() bool + func (r *DockerHelper) IsPodman() bool + func (r *DockerHelper) Pull(ctx context.Context, image string, stdin io.Reader, stdout io.Writer, ...) error + func (r *DockerHelper) Remove(ctx context.Context, id string) error + func (r *DockerHelper) Run(ctx context.Context, args []string, stdin io.Reader, stdout io.Writer, ...) error + func (r *DockerHelper) RunWithDir(ctx context.Context, dir string, args []string, stdin io.Reader, ...) error + func (r *DockerHelper) StartContainer(ctx context.Context, containerId string) error + func (r *DockerHelper) Stop(ctx context.Context, id string) error + func (r *DockerHelper) WaitContainerRunning(ctx context.Context, containerID string) error