 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Handler for Docker containers.
Handler for Docker containers.
Index ¶
- Variables
- func Client() (*dclient.Client, error)
- func ContainerNameToDockerId(name string) string
- func DockerImages() ([]docker.APIImages, error)
- func DockerInfo() (map[string]string, error)
- func DockerStateDir() string
- func Register(factory info.MachineInfoFactory, fsInfo fs.FsInfo) error
- func RootDir() string
- func UseSystemd() bool
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 DockerImages ¶ added in v0.19.2
func DockerInfo ¶ added in v0.19.2
func DockerStateDir ¶
func DockerStateDir() string
TODO(vmarmol): Export run dir too for newer Dockers. Directory holding Docker container state information.
func Register ¶
func Register(factory info.MachineInfoFactory, fsInfo fs.FsInfo) 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.