docker

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildImage

func BuildImage(env *config.Env) error

func BuildImageIfNotExist

func BuildImageIfNotExist(env *config.Env) error

func ContainerExists

func ContainerExists(env *config.Env) bool

func ContainerRunning added in v0.0.6

func ContainerRunning(env *config.Env) bool

func CreateContainer

func CreateContainer(env *config.Env, cmdArgs []string) error

func CreateContainerIfNotExist

func CreateContainerIfNotExist(env *config.Env, cmdArgs []string) error

func ExecContainer added in v0.0.6

func ExecContainer(env *config.Env, args []string, interactive bool) error

func ImageExists

func ImageExists(env *config.Env) bool

func RecreateContainer

func RecreateContainer(env *config.Env, cmdArgs []string) error

func RemoveContainer

func RemoveContainer(env *config.Env) error

func RemoveImage

func RemoveImage(env *config.Env) error

func SpawnContainer added in v0.0.6

func SpawnContainer(env *config.Env) error

func SpawnContainerIfNotRunning added in v0.0.6

func SpawnContainerIfNotRunning(env *config.Env) error

func StartContainer

func StartContainer(env *config.Env, interactive bool) error

func StopContainer added in v0.0.6

func StopContainer(env *config.Env) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL