docker

package
v0.0.0-...-80cfa99 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildImage

func BuildImage(ctx context.Context, dockerClient *client.Client, imageName string, options *image.BuildOptions) error

BuildImage Build an image with the specified name & options

func CommitContainer

func CommitContainer(ctx context.Context, dockerClient *client.Client, containerName string, reference string) error

CommitContainer Commit a container as an image

func CreateDockerClient

func CreateDockerClient() (*client.Client, error)

CreateDockerClient Create a new docker client pointing to the Sandbox VM's Docker daemon

func PullImageIfNecessary

func PullImageIfNecessary(dockerClient *client.Client, image string) error

PullImageIfNecessary Pull the specified image if it doesn't already exist

Types

This section is empty.

Jump to

Keyboard shortcuts

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