docker

package
v0.1.61 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageExists

func ImageExists(image string) bool

ImageExists checks to see if a docker image exists in the local registry takes one argument, the image name: docker.ImageExists("NameOfImage")

func Pull

func Pull(image string) bool

Types

type ContainerObj added in v0.1.59

type ContainerObj struct {
	Name  string
	Flags string
}

func Container added in v0.1.59

func Container(name string) *ContainerObj

func (*ContainerObj) Interactive added in v0.1.59

func (image *ContainerObj) Interactive() *ContainerObj

func (*ContainerObj) Mount added in v0.1.59

func (image *ContainerObj) Mount(source, dest string) *ContainerObj

func (*ContainerObj) Run added in v0.1.59

func (image *ContainerObj) Run(formatString string, args ...interface{}) string

Jump to

Keyboard shortcuts

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