Versions in this module Expand all Collapse all v1 v1.3.0 Jun 8, 2026 Changes in this version + func BuildCheckAvailable(ctx context.Context) bool + func ComposeConfig(ctx context.Context, dir, slug string) (string, error) + func ComposeConfigJSON(ctx context.Context, dir, slug string) ([]byte, error) + func ComposeResolvedConfig(ctx context.Context, dir, slug string) (string, error) + func ComposeWarnings(out string) []string + func DockerfileCheck(ctx context.Context, content string) (string, error) type Manager + func (m *Manager) CloseVolumeBrowser(ctx context.Context, hostID int64, volume string) + func (m *Manager) ConnectNetwork(ctx context.Context, hostID int64, netID, containerID string) error + func (m *Manager) CreateNetwork(ctx context.Context, hostID int64, req NetworkCreateRequest) (string, error) + func (m *Manager) DisconnectNetwork(ctx context.Context, hostID int64, netID, containerID string, force bool) error + func (m *Manager) MakeDir(ctx context.Context, hostID int64, id, path string) error + func (m *Manager) PruneNetworks(ctx context.Context, hostID int64) ([]string, error) + func (m *Manager) ReapAllVolumeHelpers(ctx context.Context) + func (m *Manager) UploadExtract(ctx context.Context, hostID int64, id, destDir, filename string, ...) error + func (m *Manager) VolumeCopyFrom(ctx context.Context, hostID int64, volume, p string) (io.ReadCloser, container.PathStat, error) + func (m *Manager) VolumeCopyTo(ctx context.Context, hostID int64, volume, destDir string, content io.Reader) error + func (m *Manager) VolumeDeletePath(ctx context.Context, hostID int64, volume, p string) error + func (m *Manager) VolumeListPath(ctx context.Context, hostID int64, volume, p string) ([]FileEntry, error) + func (m *Manager) VolumeMakeDir(ctx context.Context, hostID int64, volume, p string) error + func (m *Manager) VolumeUploadExtract(ctx context.Context, hostID int64, volume, destDir, filename string, ...) error + type NetworkCreateRequest struct + Attachable bool + Driver string + Gateway string + Internal bool + Labels map[string]string + Name string + Subnet string type TopoContainer + Ports []PortMapping + Stack string v1.2.0 Jun 5, 2026 Changes in this version + func ComposeAvailable(ctx context.Context) bool + func ComposeDown(ctx context.Context, dir, slug string) (string, error) + func ComposeProfiles(ctx context.Context, dir, slug string) ([]string, error) + func ComposeRestart(ctx context.Context, dir, slug string) (string, error) + func ComposeUp(ctx context.Context, dir, slug string, profiles []string) (string, error) type Manager + func (m *Manager) ListStacks(ctx context.Context, hostID int64) ([]Stack, error) + func (m *Manager) ResolveHostID(ctx context.Context, hostID int64) (int64, error) + func (m *Manager) StackAction(ctx context.Context, hostID int64, project, action string) error + func (m *Manager) StackComposeFile(ctx context.Context, hostID int64, project string) (path, content string, err error) + type Stack struct + ConfigFile string + Containers []StackContainer + Project string + Running int + WorkingDir string + type StackContainer struct + ID string + Image string + Name string + Ports []PortMapping + Service string + State string + Status string v1.1.0 Jun 4, 2026 Changes in this version + type HostPortProbe struct + ContainerID string + ContainerName string type Manager + func (m *Manager) ProbeContainerPorts(ctx context.Context, hostID int64, containerID string) ([]PortProbe, error) + func (m *Manager) ProbeHostPorts(ctx context.Context, hostID int64) ([]HostPortProbe, error) + func (m *Manager) ResourceOverview(ctx context.Context, hostID int64) (ResourceOverview, error) + type PortProbe struct + Detected string + Error string + GuessByPort string + Info string + Open bool + PrivatePort uint16 + PublicPort uint16 + TLS bool + Type string + type ResourceOverview struct + CPUs int + Containers []ResourceUsage + MemTotal int64 + type ResourceUsage struct + CPUPercent float64 + ID string + MemBytes uint64 + MemPercent float64 + Name string type SystemInfo + CgroupDriver string + CgroupVersion string + Containers int + ContainersPaused int + DockerRootDir string + KernelVersion string + LiveRestore bool + LoggingDriver string + OSType string + OSVersion string + StorageDriver string v1.0.0 Jun 2, 2026 Changes in this version + var ErrUnknownAction = errors.New("docker: unknown container action") + type BuildMessage struct + Error string + Stream string + type BuildOptions struct + BuildArgs map[string]string + Dockerfile string + NoCache bool + Tags []string + type ContainerDetail struct + Command []string + Created string + Env []string + Health string + ID string + Image string + Labels map[string]string + Mounts []MountInfo + Name string + Networks []NetworkAttach + Ports []PortMapping + RestartCount int + RestartPolicy string + StartedAt string + State string + Status string + type ContainerSummary struct + Created int64 + ID string + Image string + Labels map[string]string + Name string + Networks []string + Ports []PortMapping + State string + Status string + type CreateSpec struct + Binds []string + Cmd []string + Env []string + Image string + Memory int64 + Name string + NanoCPUs int64 + Ports []PortSpec + RestartPolicy string + Start bool + type DiffEntry struct + Kind string + Path string + type DiskUsage struct + BuildCache UsageCategory + Containers UsageCategory + Images UsageCategory + LayersSize int64 + Volumes UsageCategory + type Event struct + Action string + ContainerID string + ContainerName string + ExitCode string + Image string + type EventMsg struct + Action string + Attr map[string]string + ID string + Name string + Time int64 + Type string + type ExecSession struct + func (s *ExecSession) Close() + func (s *ExecSession) Conn() net.Conn + func (s *ExecSession) Read(p []byte) (int, error) + func (s *ExecSession) Resize(ctx context.Context, cols, rows uint) error + func (s *ExecSession) Write(p []byte) (int, error) + type FileEntry struct + IsDir bool + IsLink bool + Mode string + Name string + Size int64 + Target string + type HistoryEntry struct + Comment string + Created int64 + CreatedBy string + ID string + Size int64 + Tags []string + type HostKeyMismatchError struct + Fingerprint string + func (e *HostKeyMismatchError) Error() string + type HostKeyUnknownError struct + Fingerprint string + KeyType string + func (e *HostKeyUnknownError) Error() string + type ImagePruneResult struct + Deleted []string + SpaceReclaimed uint64 + type ImageSummary struct + Created int64 + Dangling bool + ID string + InUse bool + RepoDigests []string + RepoTags []string + Size int64 + type LogLine struct + Message string + Stream string + Timestamp string + type Manager struct + func NewManager(s *store.Store) *Manager + func (m *Manager) BuildImage(ctx context.Context, hostID int64, buildContext io.Reader, opts BuildOptions, ...) error + func (m *Manager) Client(ctx context.Context, hostID int64) (*client.Client, error) + func (m *Manager) Close() + func (m *Manager) CommitContainer(ctx context.Context, hostID int64, id, ref, comment string) (string, error) + func (m *Manager) ContainerAction(ctx context.Context, hostID int64, id, action string) error + func (m *Manager) ContainerDiff(ctx context.Context, hostID int64, id string) ([]DiffEntry, error) + func (m *Manager) ContainerTop(ctx context.Context, hostID int64, id string) (*TopResult, error) + func (m *Manager) CopyFrom(ctx context.Context, hostID int64, id, path string) (io.ReadCloser, container.PathStat, error) + func (m *Manager) CopyTo(ctx context.Context, hostID int64, id, destDir string, content io.Reader) error + func (m *Manager) CreateContainer(ctx context.Context, hostID int64, spec CreateSpec) (string, error) + func (m *Manager) CreateVolume(ctx context.Context, hostID int64, name, driver string, ...) (*VolumeSummary, error) + func (m *Manager) DeletePath(ctx context.Context, hostID int64, id, path string) error + func (m *Manager) Disconnect(hostID int64) + func (m *Manager) DiskUsage(ctx context.Context, hostID int64) (*DiskUsage, error) + func (m *Manager) ExecAttach(ctx context.Context, hostID int64, containerID string, cmd []string, ...) (*ExecSession, error) + func (m *Manager) ExportContainer(ctx context.Context, hostID int64, id string) (io.ReadCloser, error) + func (m *Manager) ImageHistory(ctx context.Context, hostID int64, ref string) ([]HistoryEntry, error) + func (m *Manager) ImportImage(ctx context.Context, hostID int64, tarball io.Reader, ref string) (string, error) + func (m *Manager) InspectContainer(ctx context.Context, hostID int64, id string) (*ContainerDetail, error) + func (m *Manager) InspectRaw(ctx context.Context, hostID int64, kind, id string) (json.RawMessage, error) + func (m *Manager) ListContainers(ctx context.Context, hostID int64) ([]ContainerSummary, error) + func (m *Manager) ListImages(ctx context.Context, hostID int64) ([]ImageSummary, error) + func (m *Manager) ListNetworks(ctx context.Context, hostID int64) ([]NetworkSummary, error) + func (m *Manager) ListPath(ctx context.Context, hostID int64, id, path string) ([]FileEntry, error) + func (m *Manager) ListVolumes(ctx context.Context, hostID int64) ([]VolumeSummary, error) + func (m *Manager) LoadImage(ctx context.Context, hostID int64, tar io.Reader) (string, error) + func (m *Manager) ProbeHostKey(ctx context.Context, hostID int64) (keyLine, fingerprint string, err error) + func (m *Manager) PruneImages(ctx context.Context, hostID int64) (*ImagePruneResult, error) + func (m *Manager) PruneVolumes(ctx context.Context, hostID int64) (*VolumePruneResult, error) + func (m *Manager) PullImage(ctx context.Context, hostID int64, ref string, onProgress func(PullProgress)) error + func (m *Manager) PushImage(ctx context.Context, hostID int64, ref string, onProgress func(PullProgress)) error + func (m *Manager) RegistryLogin(ctx context.Context, hostID int64, a store.RegistryAuth) error + func (m *Manager) RemoveImage(ctx context.Context, hostID int64, ref string, force bool) ([]string, error) + func (m *Manager) RemoveNetwork(ctx context.Context, hostID int64, id string) error + func (m *Manager) RemoveVolume(ctx context.Context, hostID int64, name string, force bool) error + func (m *Manager) RenameContainer(ctx context.Context, hostID int64, id, newName string) error + func (m *Manager) SampleStats(ctx context.Context, hostID int64, id string) (StatsSample, error) + func (m *Manager) SaveImage(ctx context.Context, hostID int64, refs []string) (io.ReadCloser, error) + func (m *Manager) StreamEvents(ctx context.Context, hostID int64, onEvent func(EventMsg)) error + func (m *Manager) StreamLogs(ctx context.Context, hostID int64, id string, follow bool, tail string, ...) error + func (m *Manager) StreamStats(ctx context.Context, hostID int64, id string, emit func(StatsSample)) error + func (m *Manager) SystemInfo(ctx context.Context, hostID int64) (*SystemInfo, error) + func (m *Manager) TagImage(ctx context.Context, hostID int64, source, target string) error + func (m *Manager) Topology(ctx context.Context, hostID int64) (*Topology, error) + func (m *Manager) UpdateContainer(ctx context.Context, hostID int64, id string, memory, nanoCPUs int64, ...) error + func (m *Manager) WatchEvents(ctx context.Context, hostID int64, fn func(Event)) error + type MountInfo struct + Destination string + RW bool + Source string + Type string + type NetworkAttach struct + Gateway string + IPAddress string + MacAddress string + Name string + NetworkID string + type NetworkSummary struct + Containers []string + Driver string + ID string + Internal bool + Name string + Scope string + Subnets []string + type PortMapping struct + IP string + PrivatePort uint16 + PublicPort uint16 + Type string + type PortSpec struct + ContainerPort string + HostPort string + Proto string + type PullProgress struct + Current int64 + Done bool + Error string + ID string + Status string + Total int64 + type StatsSample struct + BlkRead uint64 + BlkWrite uint64 + CPUPercent float64 + ContainerID string + MemLimit uint64 + MemPercent float64 + MemUsage uint64 + NetRx uint64 + NetTx uint64 + PIDs uint64 + Timestamp int64 + type SystemInfo struct + Architecture string + CPUs int + ContainersRunning int + ContainersStopped int + HostName string + Images int + MemTotal int64 + OperatingSystem string + ServerVersion string + type TopResult struct + Processes [][]string + Titles []string + type TopoContainer struct + ID string + Image string + Name string + State string + type TopoLink struct + ContainerID string + IPAddress string + NetworkID string + type TopoNetwork struct + Driver string + ID string + Internal bool + Name string + Scope string + Subnets []string + type Topology struct + Containers []TopoContainer + Links []TopoLink + Networks []TopoNetwork + type UsageCategory struct + Count int + Size int64 + type VolumePruneResult struct + Deleted []string + SpaceReclaimed uint64 + type VolumeSummary struct + CreatedAt string + Driver string + InUseBy []string + Labels map[string]string + Mountpoint string + Name string + Scope string