package
0.0.0-20240818021530-f5e744f7964a
Repository: https://github.com/kaisenlinux/docker.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Args build an icmd.Cmd struct from the specified (command and) arguments.
BuildCmd executes the specified docker build command and expect a success.
Daemon points to the specified daemon.
Docker executes the specified docker command.
DockerCmd executes the specified docker command and expect a success.
Format sets the specified format with --format flag.
InDir sets the folder in which the command should be executed.
InspectCmd executes the specified docker inspect command and expect a success.
SetTestEnvironment sets a static test environment TODO: decouple this package from environment.
WaitExited will wait for the specified container to state exit, subject to a maximum time limit in seconds supplied by the caller.
WaitRun will wait for the specified container to be running, maximum 5 seconds.
WithEnvironmentVariables sets the specified environment variables for the command to run.
WithFlags sets the specified flags for the command to run.
WithStdin sets the standard input reader for the command.
WithStdout sets the standard output writer of the command.
WithTimeout sets the timeout for the command to run.

# Type aliases

CmdOperator defines functions that can modify a command.