Documentation ¶
Index ¶
- func RestartContainer(ctx context.Context, cfg *ContainerConfig) error
- func RunContainer(ctx context.Context, cfg *ContainerConfig) (string, error)
- func StartContainer(ctx context.Context, cfg *ContainerConfig) error
- func StopAndRemoveContainer(ctx context.Context, containername string) error
- func StopContainer(ctx context.Context, containername string) error
- type ExecResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RestartContainer ¶
func StartContainer ¶
func StopAndRemoveContainer ¶
Types ¶
type ExecResult ¶
type ExecResult struct { ExitCode int // contains filtered or unexported fields }
func DockerExec ¶
Click to show internal directories.
Click to hide internal directories.