Difference between revisions of "Docker stop"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 10: | Line 10: | ||
Use: [[docker ps -a]] to verify status | Use: [[docker ps -a]] to verify status | ||
− | [[docker container stop]] $(docker container ls -aq) | + | [[docker container stop]] $([[docker container ls]] -aq) |
== Related commands == | == Related commands == |
Revision as of 08:16, 5 July 2020
docker stop CONTAINER_NAME
Stop one or more running containers https://docs.docker.com/engine/reference/commandline/stop/
Examples
docker stop my_container_name my_container_name Use: docker ps -a to verify status
docker container stop $(docker container ls -aq)
Related commands
Activitities
See also
- 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: