Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Verbose bool
Functions ¶
Types ¶
type Config ¶
type Config struct { AttachStderr bool AttachStdin bool AttachStdout bool Cmd []string Dns []string // For Docker API v1.9 and below only Domainname string Entrypoint []string Env []string ExposedPorts map[Port]struct{} Hostname string Image string Memory int64 MemorySwap int64 NetworkDisabled bool OnBuild []string OpenStdin bool PortSpecs []string StdinOnce bool Tty bool User string Volumes map[string]struct{} VolumesFrom string WorkingDir string }
type ContainerConfig ¶
type ContainerConfig struct { AttachStderr bool AttachStdin bool AttachStdout bool Cmd []string Dns []string Domainname string Entrypoint []string Env []string Hostname string Image string Memory int64 MemorySwap int64 NetworkDisabled bool OnBuild []string OpenStdin bool PortSpecs []string StdinOnce bool Tty bool User string Volumes map[string]struct{} VolumesFrom string }
type LayerConfig ¶
type LayerConfig struct { Id string `json:"id"` Parent string `json:"parent,omitempty"` Comment string `json:"comment"` Created time.Time `json:"created"` V1ContainerConfig *ContainerConfig `json:"ContainerConfig,omitempty"` // Docker 1.0.0, 1.0.1 V2ContainerConfig *ContainerConfig `json:"container_config,omitempty"` // All other versions Container string `json:"container"` Config *Config `json:"config,omitempty"` DockerVersion string `json:"docker_version"` Architecture string `json:"architecture"` }
func (*LayerConfig) ContainerConfig ¶
func (l *LayerConfig) ContainerConfig() *ContainerConfig
Click to show internal directories.
Click to hide internal directories.