mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-23 13:11:04 +01:00
20 lines
415 B
Markdown
20 lines
415 B
Markdown
# role docker
|
|
|
|
## maintenance
|
|
|
|
### 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
|
|
|
|
## see
|
|
- https://stackoverflow.com/questions/37599128/docker-how-do-you-disable-auto-restart-on-a-container
|