docker

package
v0.0.0-...-43c1712 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2014 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Handler for Docker containers.

Index

Constants

This section is empty.

Variables

View Source
var ArgDockerEndpoint = flag.String("docker", "unix:///var/run/docker.sock", "docker endpoint")
View Source
var DockerNamespace = "docker"

The namespace under which Docker aliases are unique.

Functions

func ContainerNameToDockerId

func ContainerNameToDockerId(name string) string

Returns the Docker ID from the full container name.

func FullContainerName

func FullContainerName(dockerId string) string

Returns a full container name for the specified Docker ID.

func IsDockerContainerName

func IsDockerContainerName(name string) bool

Returns whether the specified full container name corresponds to a Docker container.

func Register

func Register(factory info.MachineInfoFactory) error

Register root container before running this function!

func UseSystemd

func UseSystemd() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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