docker

package
v0.0.0-...-1fd3cfe Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateContainer

func CreateContainer(image string, cmd []string, bindPort string) (string, error)

func KillContainer

func KillContainer(containerId string) error

func ListContainers

func ListContainers() ([]types.Container, error)

func ListImages

func ListImages() ([]types.ImageSummary, error)

func PrintLogContainer

func PrintLogContainer(containerID string) error

func PullImage

func PullImage(imageName string) error

func RemoveContainer

func RemoveContainer(containerID string, force bool, removeVolumes bool, removeLinks bool) error

func StartContainer

func StartContainer(containerId string) error

func StopContainer

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