container

package
v0.0.0-...-02500c7 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2019 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DockerContainer

type DockerContainer interface {
	Recreate(*RecreateOptions) (newID string, err error)
	ConvertToDockerCommand() (string, error)
}

func GetExistedDockerContainer

func GetExistedDockerContainer(IDorName, daemon string) (c DockerContainer, err error)

type RecreateOptions

type RecreateOptions struct {
	Image            string
	RestartAlways    bool
	Network          string
	Bindings         []string
	RenewBindings    bool
	Env              []string
	RenewEnv         bool
	PortMapping      []string
	RenewPortMapping bool
	Cmd              []string
	RenewCmd         bool
	Rename           string
	KeepFiles        []string
}

Jump to

Keyboard shortcuts

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