mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-23 10:45:03 +01:00
added maintanance hints for docker
This commit is contained in:
parent
eca9b6b31d
commit
034a832510
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user