Versions in this module Expand all Collapse all v0 v0.16.0 Apr 4, 2018 Changes in this version + const BaseImageFakeName + const DefaultRuntime + const DefaultTerminal + const DefaultTransport + const DefaultWorkingDir + const Dockerv2ImageManifest + const OCIv1ImageManifest + const Package + const PullAlways + const PullIfMissing + const PullNever + const Version + const WithTerminal + const WithoutTerminal + var DefaultMountsFile = "/usr/share/containers/mounts.conf" + var OverrideMountsFile = "/etc/containers/mounts.conf" + func InitReexec() bool + func Push(image string, dest types.ImageReference, options PushOptions) error + type AddAndCopyOptions struct + Chown string + type Builder struct + CommonBuildOpts *CommonBuildOptions + Config []byte + Container string + ContainerID string + DefaultMountsFilePath string + Docker docker.V2Image + FromImage string + FromImageID string + ImageAnnotations map[string]string + ImageCreatedBy string + Manifest []byte + MountLabel string + MountPoint string + OCIv1 v1.Image + ProcessLabel string + Type string + func ImportBuilder(store storage.Store, options ImportOptions) (*Builder, error) + func ImportBuilderFromImage(store storage.Store, options ImportFromImageOptions) (*Builder, error) + func NewBuilder(store storage.Store, options BuilderOptions) (*Builder, error) + func OpenAllBuilders(store storage.Store) (builders []*Builder, err error) + func OpenBuilder(store storage.Store, container string) (*Builder, error) + func OpenBuilderByPath(store storage.Store, path string) (*Builder, error) + func (b *Builder) Add(destination string, extract bool, options AddAndCopyOptions, source ...string) error + func (b *Builder) AddVolume(v string) + func (b *Builder) Annotations() map[string]string + func (b *Builder) Architecture() string + func (b *Builder) ClearAnnotations() + func (b *Builder) ClearEnv() + func (b *Builder) ClearLabels() + func (b *Builder) ClearPorts() + func (b *Builder) ClearVolumes() + func (b *Builder) Cmd() []string + func (b *Builder) Commit(dest types.ImageReference, options CommitOptions) error + func (b *Builder) CreatedBy() string + func (b *Builder) Delete() error + func (b *Builder) Domainname() string + func (b *Builder) Entrypoint() []string + func (b *Builder) Env() []string + func (b *Builder) Hostname() string + func (b *Builder) Labels() map[string]string + func (b *Builder) Maintainer() string + func (b *Builder) Mount(label string) (string, error) + func (b *Builder) OS() string + func (b *Builder) Ports() []string + func (b *Builder) RemoveVolume(v string) + func (b *Builder) Run(command []string, options RunOptions) error + func (b *Builder) Save() error + func (b *Builder) SetAnnotation(key, value string) + func (b *Builder) SetArchitecture(arch string) + func (b *Builder) SetCmd(cmd []string) + func (b *Builder) SetCreatedBy(how string) + func (b *Builder) SetDefaultMountsFilePath(path string) + func (b *Builder) SetDomainname(name string) + func (b *Builder) SetEntrypoint(ep []string) + func (b *Builder) SetEnv(k string, v string) + func (b *Builder) SetHostname(name string) + func (b *Builder) SetLabel(k string, v string) + func (b *Builder) SetMaintainer(who string) + func (b *Builder) SetOS(os string) + func (b *Builder) SetPort(p string) + func (b *Builder) SetShell(shell []string) + func (b *Builder) SetUser(spec string) + func (b *Builder) SetWorkDir(there string) + func (b *Builder) Shell() []string + func (b *Builder) Unmount() error + func (b *Builder) UnsetAnnotation(key string) + func (b *Builder) UnsetEnv(k string) + func (b *Builder) UnsetLabel(k string) + func (b *Builder) UnsetPort(p string) + func (b *Builder) User() string + func (b *Builder) Volumes() []string + func (b *Builder) WorkDir() string + type BuilderInfo struct + Config string + Container string + ContainerID string + DefaultMountsFilePath string + Docker docker.V2Image + FromImage string + FromImageID string + ImageAnnotations map[string]string + ImageCreatedBy string + Manifest string + MountLabel string + MountPoint string + OCIv1 v1.Image + ProcessLabel string + Type string + func GetBuildInfo(b *Builder) BuilderInfo + type BuilderOptions struct + CommonBuildOpts *CommonBuildOptions + Container string + DefaultMountsFilePath string + FromImage string + Mount bool + PullPolicy int + Registry string + ReportWriter io.Writer + SignaturePolicyPath string + SystemContext *types.SystemContext + Transport string + type CommitOptions struct + AdditionalTags []string + Compression archive.Compression + HistoryTimestamp *time.Time + PreferredManifestType string + ReportWriter io.Writer + SignaturePolicyPath string + SystemContext *types.SystemContext + type CommonBuildOptions struct + AddHost []string + ApparmorProfile string + CPUPeriod uint64 + CPUQuota int64 + CPUSetCPUs string + CPUSetMems string + CPUShares uint64 + CgroupParent string + LabelOpts []string + Memory int64 + MemorySwap int64 + SeccompProfilePath string + ShmSize string + Ulimit []string + Volumes []string + type ImportFromImageOptions struct + Image string + SignaturePolicyPath string + SystemContext *types.SystemContext + type ImportOptions struct + Container string + SignaturePolicyPath string + type PushOptions struct + Compression archive.Compression + ManifestType string + ReportWriter io.Writer + SignaturePolicyPath string + Store storage.Store + SystemContext *types.SystemContext + type RunOptions struct + Args []string + Cmd []string + Entrypoint []string + Env []string + Hostname string + Mounts []specs.Mount + NetworkDisabled bool + Quiet bool + Runtime string + Shell string + Terminal int + User string + WorkingDir string