docker

package
v0.0.0-...-20515da Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Context context.Context
	Client  *client.Client
)

Functions

func BuildImage

func BuildImage(tag string)

func ContainerErrToStdErr

func ContainerErrToStdErr(ID string)

func CopyFromContainer

func CopyFromContainer(ctx context.Context, containerID, srcPath string) ([]utils.TarFileBasicInfo, error)

func ForceContainerRemove

func ForceContainerRemove(ID string)

func GetNeedImages

func GetNeedImages() map[string]bool

func InitDocker

func InitDocker()

func InitDockerImages

func InitDockerImages()

func PullImage

func PullImage(tag string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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