docker

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerRemove

func ContainerRemove(containerId string) error

func ContainerRun

func ContainerRun(containerConfig *container.Config, hostConfig *container.HostConfig, networkConfig *network.NetworkingConfig, containerName string, removeWhenDone bool) error

func GetContainerId

func GetContainerId(containerName string) (string, error)

func GetImageId

func GetImageId(ref string) (string, error)

func ImageBuild

func ImageBuild(dockerfile string, tags []string, labels map[string]string) error

func ImageList

func ImageList(options types.ImageListOptions) ([]types.ImageSummary, error)

func ImageLoad

func ImageLoad(tarFile *zip.File) error

func ImagePull

func ImagePull(imageRef string) error

func ImageRemove

func ImageRemove(imageId string) error

func SaveImages

func SaveImages(outputPath string, imageRefs ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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