Versions in this module Expand all Collapse all v1 v1.0.0 Jun 3, 2018 Changes in this version + const CmdEnvKey + const DefaultLabel + func GetByName(name string) (*types.Container, error) + func ImageBuild(opts ImageBuildOptions) (*types.ImageSummary, error) + func ImageList(listFilters []string) ([]types.ImageSummary, error) + func ImageRemove(id string, force bool) (err error) + func Kill(containerID string) (err error) + func List(listFilters []string) (list []types.Container, err error) + func Remove(containerID string, forceRemove bool) (err error) + func Start(opts ContainerStartOptions) (*types.Container, error) + type ContainerCreated struct + ID string + Name string + func Create(opts *CreateOptions) (*ContainerCreated, error) + type ContainerEvent struct + Action string + ID string + Message events.Message + Name string + type ContainerStartOptions struct + ImageName string + Name string + type CreateOptions struct + Cmd []string + Env []string + Image string + Name string + Privileged bool + type ExecOptions struct + Args []string + Cmd []string + Env []string + Name string + Privileged bool + Remove bool + Stdin []byte + Timeout int64 + type ExecResult struct + ID string + Stderr *bytes.Buffer + Stdout *bytes.Buffer + func Exec(opts ExecOptions) (*ExecResult, error) + type ImageBuildOptions struct + Archive string + Dockerfile string + Labels map[string]string + Name string + Type string + TypesPath []string