docker

package
v0.0.0-...-b0773c7 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: MIT, Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PortRangeStart = 49152
	PortRangeEnd   = 65535
)

Variables

View Source
var Ports = struct {
	Map map[int]struct{}
	sync.Mutex
}{
	Map: map[int]struct{}{},
}

Functions

func Close

func Close() error

func CreateContainerByImage

func CreateContainerByImage(image string, name string) (string, int, error)

func ImportImageFromReader

func ImportImageFromReader(reader io.Reader, name string) error

func RemoveContainer

func RemoveContainer(id string, port int, count *int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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