Add docker snippets md file.

This commit is contained in:
Nick Hepler 2024-10-18 09:28:23 -04:00
parent 9bbead2fcb
commit 360e5864cf

13
docker.md Normal file
View File

@ -0,0 +1,13 @@
# Docker Snippets
## Stop All Containers
```shell
docker stop $(docker ps -q)
```
## Start Stopped Continaers
```shell
docker start $(docker ps -q -f "status=exited")
```