dockerutil

package
v0.0.0-...-b3576fb Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2019 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package dockerutil containes utility funtions for interacting with the Docker SDK.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateVolume

func CreateVolume(volumeName string) (types.Volume, error)

func Exec

func Exec(args []string, silent bool) error

func FindContainer

func FindContainer(containerName string) (types.Container, bool, error)

func FindVolume

func FindVolume(volumeName string) (*types.Volume, bool, error)

func Ping

func Ping() (types.Ping, error)

func RunContainer

func RunContainer(
	containerConfig container.Config, hostConfig container.HostConfig, containerName string,
) (container.ContainerCreateCreatedBody, error)

func StartContainer

func StartContainer(containerID string) error

func StopContainer

func StopContainer(id 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