added maintanance hints for docker

This commit is contained in:
Kevin Veen-Birkenbach 2022-12-03 18:08:26 +01:00
parent eca9b6b31d
commit 034a832510

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