Add description to Bash snippets.

This commit is contained in:
Nick Hepler 2024-11-11 18:04:28 -05:00
parent e71467b243
commit e6bf5cc191

View File

@ -1,12 +1,14 @@
# Docker Snippets # Docker Snippets
## Stop All Containers ## Stop All Containers
Stops all running containers.
```shell ```shell
docker stop $(docker ps -q) docker stop $(docker ps -q)
``` ```
## Start Stopped Continaers ## Start Stopped Continaers
Starts all containers that were stopped.
```shell ```shell
docker start $(docker ps -q -f "status=exited") docker start $(docker ps -q -f "status=exited")