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

# 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

# Functions

GetAllCapabilities returns all of the capabilities.
GetCapability returns CapabilityMapping which contains specific key.
InitContainer is the initialization of a container config.
NewPipes returns a wrapper around a container's output.
NewStdConsole returns a new StdConsole struct.
SetupCgroups setups cgroup resources for a container.
Stats collects all the resource usage information from a container.
TweakCapabilities can tweak capabilities by adding or dropping capabilities based on the basics capabilities.

# Variables

Define error messages.
Define error messages.
Define error messages.
Define error messages.

# Structs

No description provided by the author
Command wraps an os/exec.Cmd to add more metadata TODO Windows: Factor out unused fields such as LxcConfig, AppArmorProfile, and CgroupParent.
ExitStatus provides exit reasons for a container.
Hooks is a struct containing function pointers to callbacks used by any execdriver implementation exploiting hooks capabilities.
Ipc settings of the container It is for IPC namespace setting.
Mount contains information for a mount operation.
Network settings of the container.
Pid settings of the container It is for PID namespace setting.
Pipes is a wrapper around a container's output for stdin, stdout, stderr.
ProcessConfig describes a process that will be run inside a container.
Resources contains all resource configs for a driver.
ResourceStats contains information about resource usage by a container.
StdConsole defines standard console operations for execdriver.
User contains the uid and gid representing a Unix user.
UTS settings of the container It is for UTS namespace setting.

# Interfaces

Driver is an interface for drivers to implement including all basic functions a driver should have.
Info is driver specific information based on processes registered with the driver.
Terminal represents a pseudo TTY, it is for when using a container interactively.

# Type aliases

No description provided by the author
Context is a generic key value pair that allows arbatrary data to be sent.
DriverCallback defines a callback function which is used in "Run" and "Exec".