docker

package
v0.0.0-...-4ba0521 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: BSD-2-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildImage

func BuildImage(opts BuildOpts) error

func CheckMinServerVersion

func CheckMinServerVersion() error

func RunContainer

func RunContainer(opts RunOpts) error

Types

type BuildOpts

type BuildOpts struct {
	Tag        []string
	Dockerfile string
	CacheFrom  []string
	NoCache    bool

	BuildDir string
	TmpDir   string

	ShowOutput bool
}

type RunOpts

type RunOpts struct {
	Name       string
	ImageTags  string
	WorkingDir string
	Cmd        []string

	Volumes map[string]string

	ShowOutput bool
	Debug      bool
}

Jump to

Keyboard shortcuts

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