docker

package
v0.0.0-...-d197850 Latest Latest
Warning

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

Go to latest
Published: May 4, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(name, path string)

func Enter

func Enter(name string)

func Exec

func Exec(args []string, hasStdout bool)

func GetImages

func GetImages() (map[string]string, error)

func HasDocker

func HasDocker() bool

func ImageExists

func ImageExists(name string) bool

func Inspect

func Inspect(params ...string) ([]byte, error)

func Kill

func Kill(name string)

func Logs

func Logs(name string) (string, error)

func Pull

func Pull(name string)

func Remove

func Remove(name string)

func Run

func Run(name, currentPath string, arguments []string, ports, environments map[string]string)

*

  • Start a container as binary

func ShouldRebuild

func ShouldRebuild(imageName string) bool

func SnapshotProcesses

func SnapshotProcesses() (map[string]string, error)

func Start

func Start(name, image string, links []string, ports, volumes, environments map[string]string) string

*

  • Start a container as a server

Types

This section is empty.

Jump to

Keyboard shortcuts

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