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
## 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")