# Functions
AttachStreams connects streams to a TTY.
GetSandboxPortMapInfo retrieves the current port-mapping programmed for the given sandbox.
IsValidHealthString checks if the provided string is a valid container health status or not.
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.
DefaultStopTimeout is the timeout (in seconds) for the syscall signal used to stop a 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.
DetachError is special error which returned in case of container detach.
ExitStatus provides exit reasons for a container.
Health holds the current container health-check state.
Mount contains information for a mount operation.
State holds the current container state, and has methods to get and set the state.
StateStatus is used to return an error type implementing both exec.ExitCode and error.
# 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.