package
1.9.0
Repository: https://github.com/alexandrev/docker.git
Documentation: pkg.go.dev

# README

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver

Code pertaining to storing images:

  • graphdriver

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package logger defines interfaces that logger drivers implement to log messages.
No description provided by the author

# Functions

GetFullContainerName returns a constructed container name.
NewDaemon sets up everything for the daemon to be able to service requests from the webserver.
NewState creates a default state object with a fresh channel for state changes.

# Constants

DefaultPathEnv is unix style list of directories to search for executables.
NetworkByID represents a constant to find a network by its ID.
NetworkByName represents a constant to find a network by its Name.

# Variables

ErrExtractPointNotDirectory is used to convey that the operation to extract a tar archive to a directory in a container has failed because the specified path does not refer to a directory.
ErrRootFSReadOnly is returned when a container rootfs is marked readonly.
ErrVolumeReadonly is used to signal an error when trying to copy data into a volume mount that is not writable.

# Structs

CommonConfig defines the configuration of a docker daemon which are common across platforms.
CommonContainer holds the fields for a container which are applicable across all platforms supported by the daemon.
Config defines the configuration of a docker daemon.
Container holds the fields specific to unixen implementations.
ContainerAttachWithLogsConfig holds the streams to use when connecting to a container to view logs.
ContainerCommitConfig contains build configs for commit operation, and is used when making a commit with the current state of the container.
ContainerLogsConfig holds configs for logging operations.
ContainerRmConfig is a holder for passing in runtime config.
ContainersConfig is the filtering specified by the user to iterate over containers.
ContainerStatsConfig holds information for configuring the runtime behavior of a daemon.ContainerStats() call.
ContainerWsAttachWithLogsConfig attach with websockets, since all stream data is delegated to the websocket to handle there.
Daemon holds information about the Docker daemon.
ExecConfig holds the configurations for execs.
State holds the current container state, and has methods to get and set the state.

# Type aliases

History is a convenience type for storing a list of containers, ordered by creation date.