docker-container

Manage 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

SYNOPSIS

docker container

DESCRIPTION

Manage containers

OPTIONS

-h, --help[=false] help for container

SEE ALSO

docker(1), docker-container-attach(1), docker-container-commit(1), docker-container-cp(1), docker-container-create(1), docker-container-diff(1), docker-container-exec(1), docker-container-export(1), docker-container-inspect(1), docker-container-kill(1), docker-container-logs(1), docker-container-ls(1), docker-container-pause(1), docker-container-port(1), docker-container-prune(1), docker-container-rename(1), docker-container-restart(1), docker-container-rm(1), docker-container-run(1), docker-container-start(1), docker-container-stats(1), docker-container-stop(1), docker-container-top(1), docker-container-unpause(1), docker-container-update(1), docker-container-wait(1)

Copied to clipboard
digitalocean