container

Manage containers

Subcommands

NameDescription
attachAttach local standard input, output, and error streams to a running container
commitCreate a new image from a container's changes
cpCopy files/folders between a container and the local filesystem
createCreate a new container
diffInspect changes to files or directories on a container's filesystem
execExecute a command in a running container
exportExport a container's filesystem as a tar archive
inspectDisplay detailed information on one or more containers
killKill one or more running containers
logsFetch the logs of a container
lsList containers
pausePause all processes within one or more containers
portList port mappings or a specific mapping for the container
pruneRemove all stopped containers
renameRename a container
restartRestart one or more containers
rmRemove one or more containers
runCreate and run a new container from an image
startStart one or more stopped containers
statsDisplay a live stream of container(s) resource usage statistics
stopStop one or more running containers
topDisplay the running processes of a container
unpauseUnpause all processes within one or more containers
updateUpdate configuration of one or more containers
waitBlock until one or more containers stop, then print their exit codes

Description

Manage containers.