Versions in this module Expand all Collapse all v0 v0.2.0 May 15, 2026 Changes in this version + const CodeExecFailed + const CodeNotFound + const CodeNotRunning + const CodeTimeout + const StateNotFound + const StateRunning + const StateStopped + func EnsureRunning(ctx context.Context, containerID, image, workDir string) (string, error) + func Rebuild(ctx context.Context, containerID, newImage, workDir string) (string, error) + func Status(ctx context.Context, containerID string) (string, error) + type ContainerError struct + Code string + Message string + func (e *ContainerError) Error() string + type ExecResult struct + ExitCode int + Stderr string + Stdout string + func ExecWithStdin(ctx context.Context, containerID string, cmd []string, stdin []byte) (*ExecResult, error)