Difference between revisions of "Docker stop"
Jump to navigation
Jump to search
(Created page with "{{Draft}} == See also == * {{docker}} Category:Docker") |
|||
(24 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lc}} |
+ | <code>docker stop CONTAINER_NAME</code> Stop one or more running containers https://docs.docker.com/engine/reference/commandline/stop/ | ||
+ | * <code>[[docker]] stop $([[docker container ls -q]])</code> | ||
+ | == Examples == | ||
+ | |||
+ | docker stop my_container_name | ||
+ | my_container_name | ||
+ | |||
+ | To verify status execute: [[docker ps -a]] | ||
+ | |||
+ | * <code>[[docker]] stop $([[docker container ls -q]])</code> | ||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[docker start]]</code> | ||
+ | * <code>[[docker ps]]</code> | ||
+ | * <code>[[docker-compose start]]</code> | ||
+ | * <code>[[docker-compose up]]</code> | ||
+ | * <code>[[docker container stop]]</code> | ||
+ | * <code>[[docker system prune]]</code> | ||
+ | |||
+ | == Activitities == | ||
+ | # Understand [[Start configuration behavior and restart policy]] (<code>[[docker update]]</code>) | ||
== See also == | == See also == |
Latest revision as of 13:19, 17 July 2024
docker stop CONTAINER_NAME
Stop one or more running containers https://docs.docker.com/engine/reference/commandline/stop/
docker stop $(docker container ls -q)
Examples[edit]
docker stop my_container_name my_container_name To verify status execute: docker ps -a
docker stop $(docker container ls -q)
Related commands[edit]
docker start
docker ps
docker-compose start
docker-compose up
docker container stop
docker system prune
Activitities[edit]
See also[edit]
- Docker:
docker-compose
, Docker Desktop, Docker Scout, Docker Swarm, Docker Volumes, Docker images management, docker network,docker inspect
,docker volume inspect
,Dockerfile
, Docker Engine release notes,docker kill
,moby
, Docker-in-Docker,docker context
,buildx
,docker tag
,docker system prune
, Docker Hub,hub-tool, /etc/docker/daemon.json
,hostconfig.json
, dockerd, logs, Docker logging, Backup,docker service
,depends on
,--dns, --filter
,--mount
,docker login
,docker build
,apt remove docker.io
,.dockerignore
, docker context ls |docker-machine, .docker/
, PWD,$HOME/.docker/config.json
, Docker ID,--env-file, docker --help
Advertising: