Subcommands (14)
Create a new image from a container's changes.
Copy files or directories between host and container filesystems.
Inspect changes to files or directories on a container's filesystem.
Execute a command on an already running Docker container.
Print container logs.
List Docker containers.
This command is an alias of `docker container rm`.
Rename a container.
Remove containers.
Run a command in a new Docker container.
Start stopped containers.
Display a live stream of resource usage statistics for containers.
Display the running processes of a container.
Update configuration of Docker containers. Note: This command is not supported for Windows containers.
Options (7)
booleanList currently running Docker containers
docker {{[ps|container ls]}}booleanStart one or more stopped containers
docker {{[start|container start]}} {{container1_name}} {{container2_name}}booleanKill one or more running containers
docker {{[kill|container kill]}} {{container_name}}booleanStop one or more running containers
docker {{[stop|container stop]}} {{container_name}}booleanPause all processes within one or more containers
docker {{[pause|container pause]}} {{container_name}}booleanExport a container's filesystem as a `.tar` archive
docker {{[export|container export]}} {{container_name}}booleanCreate a new image from a container's changes
docker {{[commit|container commit]}} {{container_name}}Examples (8)
List currently running Docker containers
docker [ps|container ls]Start one or more stopped containers
docker [start|container start] container1_name container2_nameKill one or more running containers
docker [kill|container kill] container_nameStop one or more running containers
docker [stop|container stop] container_namePause all processes within one or more containers
docker [pause|container pause] container_nameDisplay detailed information on one or more containers
docker container inspect container_nameExport a container's filesystem as a `.tar` archive
docker [export|container export] container_nameCreate a new image from a container's changes
docker [commit|container commit] container_name