dockercontrol

package
v0.0.0-...-614e11e Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InspectContainer

func InspectContainer(containerID string) (types.ContainerJSON, error)

InspectContainer retrieves container informations

func ListContainers

func ListContainers() ([]types.Container, error)

ListContainers list running containers

func StartStack

func StartStack(db *bolt.DB, DC models.DockerCompose, elephantName string) (map[string]models.RunningContainer, *client.Client, error)

StartStack starts the stack

func StopContainer

func StopContainer(containerID string) error

StopContainer stop a container

Types

type Vol

type Vol struct {
	Labels map[string]string
}

Vol struct defines a docker-container volume

Jump to

Keyboard shortcuts

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