docker

package
v0.1.1-beta Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContainers

func GetContainers() ([]duiTypes.ContainerResponse, error)

GetContainers - return containers data as json map

func GetImages

func GetImages(all, filter string) ([]duiTypes.ImageResponse, error)

GetImages - return images data as json map

func PullImage

func PullImage(all, reference, username, password string) (string, error)

PullImage - pull an image from registry

func RunContainer

func RunContainer(containerName, imageName, hostName, domainName, user string, cmd, entryPoint []string, labels map[string]string) (container.ContainerCreateCreatedBody, error)

RunContainer - run a container with specified configuration

Types

This section is empty.

Jump to

Keyboard shortcuts

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