15 lines
245 B
Markdown
15 lines
245 B
Markdown
# Docker Snippets
|
|
|
|
## Stop All Containers
|
|
Stops all running containers.
|
|
|
|
```shell
|
|
docker stop $(docker ps -q)
|
|
```
|
|
|
|
## Start Stopped Continaers
|
|
Starts all containers that were stopped.
|
|
|
|
```shell
|
|
docker start $(docker ps -q -f "status=exited")
|
|
``` |