package docker

import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/google/cadvisor/container/docker"

Handler for Docker containers.

Index

Variables

var ArgDockerEndpoint = flag.String("docker", "unix:///var/run/docker.sock", "docker endpoint")
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 DockerStateDir

func DockerStateDir() string

func FullContainerName

func FullContainerName(dockerId string) string

Returns a full container name for the specified Docker ID.

func Register

func Register(factory info.MachineInfoFactory, fsInfo fs.FsInfo) error

Register root container before running this function!

func RootDir

func RootDir() string

func UseSystemd

func UseSystemd() bool

Source Files

factory.go handler.go

Version
v0.13.2
Published
Mar 19, 2015
Platform
linux/amd64
Imports
22 packages
Last checked
7 minutes ago

Tools for package owners.