Versions in this module Expand all Collapse all v26 v26.1.5 Jul 23, 2024 v26.1.4 Jun 5, 2024 v26.1.3 May 15, 2024 v26.1.2 May 8, 2024 v26.1.1 Apr 30, 2024 v26.1.0 Apr 22, 2024 v26.0.2 Apr 18, 2024 v26.0.1 Apr 10, 2024 v26.0.0 Mar 20, 2024 Changes in this version + const Healthy + const MediaTypeMultiplexedStream + const MediaTypeRawStream + const NoHealthcheck + const RegistryAuthFromPreviousSpec + const RegistryAuthFromSpec + const Starting + const Unhealthy + type BlkioStatEntry struct + Major uint64 + Minor uint64 + Op string + Value uint64 + type BlkioStats struct + IoMergedRecursive []BlkioStatEntry + IoQueuedRecursive []BlkioStatEntry + IoServiceBytesRecursive []BlkioStatEntry + IoServiceTimeRecursive []BlkioStatEntry + IoServicedRecursive []BlkioStatEntry + IoTimeRecursive []BlkioStatEntry + IoWaitTimeRecursive []BlkioStatEntry + SectorsRecursive []BlkioStatEntry + type BuildCache struct + CreatedAt time.Time + Description string + ID string + InUse bool + LastUsedAt *time.Time + Parent string + Parents []string + Shared bool + Size int64 + Type string + UsageCount int + type BuildCachePruneOptions struct + All bool + Filters filters.Args + KeepStorage int64 + type BuildCachePruneReport struct + CachesDeleted []string + SpaceReclaimed uint64 + type BuildResult struct + ID string + type BuilderVersion string + const BuilderBuildKit + const BuilderV1 + type CPUStats struct + CPUUsage CPUUsage + OnlineCPUs uint32 + SystemUsage uint64 + ThrottlingData ThrottlingData + type CPUUsage struct + PercpuUsage []uint64 + TotalUsage uint64 + UsageInKernelmode uint64 + UsageInUsermode uint64 + type CloseWriter interface + CloseWrite func() error + type ComponentVersion struct + Details map[string]string + Name string + Version string + type ConfigCreateResponse struct + ID string + type ConfigListOptions struct + Filters filters.Args + type Container struct + Command string + Created int64 + HostConfig struct{ ... } + ID string + Image string + ImageID string + Labels map[string]string + Mounts []MountPoint + Names []string + NetworkSettings *SummaryNetworkSettings + Ports []Port + SizeRootFs int64 + SizeRw int64 + State string + Status string + type ContainerExecInspect struct + ContainerID string + ExecID string + ExitCode int + Pid int + Running bool + type ContainerJSON struct + Config *container.Config + Mounts []MountPoint + NetworkSettings *NetworkSettings + type ContainerJSONBase struct + AppArmorProfile string + Args []string + Created string + Driver string + ExecIDs []string + GraphDriver GraphDriverData + HostConfig *container.HostConfig + HostnamePath string + HostsPath string + ID string + Image string + LogPath string + MountLabel string + Name string + Node *ContainerNode + Path string + Platform string + ProcessLabel string + ResolvConfPath string + RestartCount int + SizeRootFs *int64 + SizeRw *int64 + State *ContainerState + type ContainerNode struct + Addr string + Cpus int + ID string + IPAddress string + Labels map[string]string + Memory int64 + Name string + type ContainerPathStat struct + LinkTarget string + Mode os.FileMode + Mtime time.Time + Name string + Size int64 + type ContainerState struct + Dead bool + Error string + ExitCode int + FinishedAt string + Health *Health + OOMKilled bool + Paused bool + Pid int + Restarting bool + Running bool + StartedAt string + Status string + type ContainerStats struct + Body io.ReadCloser + OSType string + type ContainersPruneReport struct + ContainersDeleted []string + SpaceReclaimed uint64 + type CopyConfig struct + Resource string + type CopyToContainerOptions struct + AllowOverwriteDirWithFile bool + CopyUIDGID bool + type DefaultNetworkSettings struct + EndpointID string + Gateway string + GlobalIPv6Address string + GlobalIPv6PrefixLen int + IPAddress string + IPPrefixLen int + IPv6Gateway string + MacAddress string + type DiskUsage struct + BuildCache []*BuildCache + BuilderSize int64 + Containers []*Container + Images []*image.Summary + LayersSize int64 + Volumes []*volume.Volume + type DiskUsageObject string + const BuildCacheObject + const ContainerObject + const ImageObject + const VolumeObject + type DiskUsageOptions struct + Types []DiskUsageObject + type EndpointResource struct + EndpointID string + IPv4Address string + IPv6Address string + MacAddress string + Name string + type ErrorResponse struct + Message string + func (e ErrorResponse) Error() string + type EventsOptions struct + Filters filters.Args + Since string + Until string + type ExecConfig struct + AttachStderr bool + AttachStdin bool + AttachStdout bool + Cmd []string + ConsoleSize *[2]uint + Detach bool + DetachKeys string + Env []string + Privileged bool + Tty bool + User string + WorkingDir string + type ExecStartCheck struct + ConsoleSize *[2]uint + Detach bool + Tty bool + type GraphDriverData struct + Data map[string]string + Name string + type Health struct + FailingStreak int + Log []*HealthcheckResult + Status string + type HealthcheckResult struct + End time.Time + ExitCode int + Output string + Start time.Time + type HijackedResponse struct + Conn net.Conn + Reader *bufio.Reader + func NewHijackedResponse(conn net.Conn, mediaType string) HijackedResponse + func (h *HijackedResponse) Close() + func (h *HijackedResponse) CloseWrite() error + func (h *HijackedResponse) MediaType() (string, bool) + type IDResponse struct + ID string + type ImageBuildOptions struct + AuthConfigs map[string]registry.AuthConfig + BuildArgs map[string]*string + BuildID string + CPUPeriod int64 + CPUQuota int64 + CPUSetCPUs string + CPUSetMems string + CPUShares int64 + CacheFrom []string + CgroupParent string + Context io.Reader + Dockerfile string + ExtraHosts []string + ForceRemove bool + Isolation container.Isolation + Labels map[string]string + Memory int64 + MemorySwap int64 + NetworkMode string + NoCache bool + Outputs []ImageBuildOutput + Platform string + PullParent bool + RemoteContext string + Remove bool + SecurityOpt []string + SessionID string + ShmSize int64 + Squash bool + SuppressOutput bool + Tags []string + Target string + Ulimits []*units.Ulimit + Version BuilderVersion + type ImageBuildOutput struct + Attrs map[string]string + Type string + type ImageBuildResponse struct + Body io.ReadCloser + OSType string + type ImageCreateOptions = image.CreateOptions + type ImageImportOptions = image.ImportOptions + type ImageImportSource struct + Source io.Reader + SourceName string + type ImageInspect struct + Architecture string + Author string + Comment string + Config *container.Config + Container string + ContainerConfig *container.Config + Created string + DockerVersion string + GraphDriver GraphDriverData + ID string + Metadata image.Metadata + Os string + OsVersion string + Parent string + RepoDigests []string + RepoTags []string + RootFS RootFS + Size int64 + Variant string + VirtualSize int64 + type ImageListOptions = image.ListOptions + type ImageLoadResponse struct + Body io.ReadCloser + JSON bool + type ImagePullOptions = image.PullOptions + type ImagePushOptions = image.PushOptions + type ImageRemoveOptions = image.RemoveOptions + type ImageSearchOptions struct + Filters filters.Args + Limit int + PrivilegeFunc RequestPrivilegeFunc + RegistryAuth string + type ImagesPruneReport struct + ImagesDeleted []image.DeleteResponse + SpaceReclaimed uint64 + type MemoryStats struct + Commit uint64 + CommitPeak uint64 + Failcnt uint64 + Limit uint64 + MaxUsage uint64 + PrivateWorkingSet uint64 + Stats map[string]uint64 + Usage uint64 + type MountPoint struct + Destination string + Driver string + Mode string + Name string + Propagation mount.Propagation + RW bool + Source string + Type mount.Type + type NetworkConnect struct + Container string + EndpointConfig *network.EndpointSettings + type NetworkCreate struct + Attachable bool + CheckDuplicate bool + ConfigFrom *network.ConfigReference + ConfigOnly bool + Driver string + EnableIPv6 bool + IPAM *network.IPAM + Ingress bool + Internal bool + Labels map[string]string + Options map[string]string + Scope string + type NetworkCreateRequest struct + Name string + type NetworkCreateResponse struct + ID string + Warning string + type NetworkDisconnect struct + Container string + Force bool + type NetworkInspectOptions struct + Scope string + Verbose bool + type NetworkListOptions struct + Filters filters.Args + type NetworkResource struct + Attachable bool + ConfigFrom network.ConfigReference + ConfigOnly bool + Containers map[string]EndpointResource + Created time.Time + Driver string + EnableIPv6 bool + ID string + IPAM network.IPAM + Ingress bool + Internal bool + Labels map[string]string + Name string + Options map[string]string + Peers []network.PeerInfo + Scope string + Services map[string]network.ServiceInfo + type NetworkSettings struct + Networks map[string]*network.EndpointSettings + type NetworkSettingsBase struct + Bridge string + HairpinMode bool + LinkLocalIPv6Address string + LinkLocalIPv6PrefixLen int + Ports nat.PortMap + SandboxID string + SandboxKey string + SecondaryIPAddresses []network.Address + SecondaryIPv6Addresses []network.Address + type NetworkStats struct + EndpointID string + InstanceID string + RxBytes uint64 + RxDropped uint64 + RxErrors uint64 + RxPackets uint64 + TxBytes uint64 + TxDropped uint64 + TxErrors uint64 + TxPackets uint64 + type NetworksPruneReport struct + NetworksDeleted []string + type NodeListOptions struct + Filters filters.Args + type NodeRemoveOptions struct + Force bool + type PidsStats struct + Current uint64 + Limit uint64 + type Ping struct + APIVersion string + BuilderVersion BuilderVersion + Experimental bool + OSType string + SwarmStatus *swarm.Status + type Plugin struct + Config PluginConfig + Enabled bool + ID string + Name string + PluginReference string + Settings PluginSettings + type PluginConfig struct + Args PluginConfigArgs + Description string + DockerVersion string + Documentation string + Entrypoint []string + Env []PluginEnv + Interface PluginConfigInterface + IpcHost bool + Linux PluginConfigLinux + Mounts []PluginMount + Network PluginConfigNetwork + PidHost bool + PropagatedMount string + Rootfs *PluginConfigRootfs + User PluginConfigUser + WorkDir string + type PluginConfigArgs struct + Description string + Name string + Settable []string + Value []string + type PluginConfigInterface struct + ProtocolScheme string + Socket string + Types []PluginInterfaceType + type PluginConfigLinux struct + AllowAllDevices bool + Capabilities []string + Devices []PluginDevice + type PluginConfigNetwork struct + Type string + type PluginConfigRootfs struct + DiffIds []string + Type string + type PluginConfigUser struct + GID uint32 + UID uint32 + type PluginCreateOptions struct + RepoName string + type PluginDevice struct + Description string + Name string + Path *string + Settable []string + type PluginDisableOptions struct + Force bool + type PluginEnableOptions struct + Timeout int + type PluginEnv struct + Description string + Name string + Settable []string + Value *string + type PluginInstallOptions struct + AcceptAllPermissions bool + AcceptPermissionsFunc func(PluginPrivileges) (bool, error) + Args []string + Disabled bool + PrivilegeFunc RequestPrivilegeFunc + RegistryAuth string + RemoteRef string + type PluginInterfaceType struct + Capability string + Prefix string + Version string + func (t *PluginInterfaceType) MarshalJSON() ([]byte, error) + func (t *PluginInterfaceType) UnmarshalJSON(p []byte) error + func (t PluginInterfaceType) String() string + type PluginMount struct + Description string + Destination string + Name string + Options []string + Settable []string + Source *string + Type string + type PluginPrivilege struct + Description string + Name string + Value []string + type PluginPrivileges []PluginPrivilege + func (s PluginPrivileges) Len() int + func (s PluginPrivileges) Less(i, j int) bool + func (s PluginPrivileges) Swap(i, j int) + type PluginRemoveOptions struct + Force bool + type PluginSettings struct + Args []string + Devices []PluginDevice + Env []string + Mounts []PluginMount + type PluginsListResponse []*Plugin + type Port struct + IP string + PrivatePort uint16 + PublicPort uint16 + Type string + type PushResult struct + Digest string + Size int + Tag string + type RequestPrivilegeFunc func() (string, error) + type RootFS struct + Layers []string + Type string + type SecretCreateResponse struct + ID string + type SecretListOptions struct + Filters filters.Args + type ServiceCreateOptions struct + EncodedRegistryAuth string + QueryRegistry bool + type ServiceInspectOptions struct + InsertDefaults bool + type ServiceListOptions struct + Filters filters.Args + Status bool + type ServiceUpdateOptions struct + EncodedRegistryAuth string + QueryRegistry bool + RegistryAuthFrom string + Rollback string + type Stats struct + BlkioStats BlkioStats + CPUStats CPUStats + MemoryStats MemoryStats + NumProcs uint32 + PidsStats PidsStats + PreCPUStats CPUStats + PreRead time.Time + Read time.Time + StorageStats StorageStats + type StatsJSON struct + ID string + Name string + Networks map[string]NetworkStats + type StorageStats struct + ReadCountNormalized uint64 + ReadSizeBytes uint64 + WriteCountNormalized uint64 + WriteSizeBytes uint64 + type SummaryNetworkSettings struct + Networks map[string]*network.EndpointSettings + type SwarmUnlockKeyResponse struct + UnlockKey string + type TaskListOptions struct + Filters filters.Args + type ThrottlingData struct + Periods uint64 + ThrottledPeriods uint64 + ThrottledTime uint64 + type Version struct + APIVersion string + Arch string + BuildTime string + Components []ComponentVersion + Experimental bool + GitCommit string + GoVersion string + KernelVersion string + MinAPIVersion string + Os string + Platform struct{ ... } + Version string + type VolumesPruneReport struct + SpaceReclaimed uint64 + VolumesDeleted []string v26.0.0-rc3 Mar 19, 2024 v26.0.0-rc2 Mar 7, 2024 v26.0.0-rc1 Feb 28, 2024 Other modules containing this package gopkg.in/docker/docker.v1 gopkg.in/docker/docker.v20 gopkg.in/docker/docker.v23 gopkg.in/docker/docker.v24