added maintanance hints for docker

This commit is contained in:
Kevin Veen-Birkenbach 2022-12-03 18:08:26 +01:00
parent 7eb89b2170
commit d161da26eb

View File

@ -1,5 +1,17 @@
# role native-docker
## maintanance
### list unused volumes
```bash
docker volume ls -q -f "dangling=true"
```
### remove all unused volumes
```bash
docker volume rm $(docker volume ls -q -f "dangling=true")
```
## performance
- https://forums.docker.com/t/mysql-slow-performance-in-docker/37179/21