Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRunDockerCmdStds = RunDockerCmdStds{ Stdout: os.Stdout, Stderr: os.Stderr, Stdin: os.Stdin, }
Functions ¶
func BuildImageFromCli ¶
BuildImageFromCli returns the id for the built image.
func CreateTarImageFromDockerfile ¶
CreateTarImageFromDockerfile builds docker image from dockerfile and exports the image as a tar file.
func RunDockerCmd ¶
func RunDockerCmd(cmdStr string, args []string, stds *RunDockerCmdStds) error
RunDockerCmd runs a given Docker command. args and stds are optional.
Types ¶
Click to show internal directories.
Click to hide internal directories.