mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-13 00:11:05 +01:00
added maintanance hints for docker
This commit is contained in:
parent
7eb89b2170
commit
d161da26eb
@ -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