Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SockAddr = "/var/run/docker.sock"
连接列表
Functions ¶
Types ¶
type Container ¶
type Container struct { Id string `json:"Id"` Names []string `json:"Names"` Image string `json:"Image"` ImageID string `json:"ImageID"` Command string `json:"Command"` Created uint64 `json:"Created"` State string `json:"State"` Status string `json:"Status"` Ports []Port `json:"Ports"` Labels map[string]string `json:"Labels"` HostConfig map[string]string `json:"HostConfig"` NetworkSettings map[string]interface{} `json:"NetworkSettings"` Mounts []Mount `json:"Mounts"` }
容器结构
type Image ¶
type Image struct { Created uint64 Id string ParentId string RepoTags []string Size uint64 VirtualSize uint64 }
镜像结构
Click to show internal directories.
Click to hide internal directories.