docker-containers

docker-containers

TLDR

List currently running Docker containers

$ docker container ls
copy

Start one or more stopped containers

$ docker container start [container1_name] [container2_name]
copy

Kill one or more running containers

$ docker container kill [container_name]
copy

Stop one or more running containers

$ docker container stop [container_name]
copy

Pause all processes within one or more containers

$ docker container pause [container_name]
copy

Display detailed information on one or more containers

$ docker container inspect [container_name]
copy

Export a container's filesystem as a tar archive

$ docker container export [container_name]
copy

Create a new image from a container's changes

$ docker container commit [container_name]
copy

Copied to clipboard
free 100$ digital ocean credit