package
1.11.1
Repository: https://github.com/hamo/docker.git
Documentation: pkg.go.dev

# Functions

AttachStreams connects streams to a TTY.
IsValidStateString checks if the provided string is a valid container state or not.
NewBaseContainer creates a new container with its basic configuration.
NewMemoryStore initializes a new memory store.
NewState creates a default state object with a fresh channel for state changes.

# Constants

DefaultSHMSize is the default size (64MB) of the SHM which will be mounted in the container.

# Structs

CommonContainer holds the fields for a container which are applicable across all platforms supported by the daemon.
Container holds the fields specific to unixen implementations.
ExitStatus provides exit reasons for a container.
Mount contains information for a mount operation.
State holds the current container state, and has methods to get and set the state.

# Interfaces

Store defines an interface that any container store must implement.

# Type aliases

History is a convenience type for storing a list of containers, sorted by creation date in descendant order.
StoreFilter defines a function to filter container in the store.
StoreReducer defines a function to manipulate containers in the store.