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 ¶
Returns the Docker ID from the full container name.
func DockerStateDir ¶
func DockerStateDir() string
func FullContainerName ¶
Returns a full container name for the specified Docker ID.
func IsDockerContainerName ¶
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.
Click to show internal directories.
Click to hide internal directories.