computer-playbook/roles/native-docker/Readme.md

20 lines
422 B
Markdown
Raw Normal View History

2020-12-31 10:37:31 +01:00
# role native-docker
2022-12-03 18:08:26 +01:00
## 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")
```
2021-01-02 10:02:17 +01:00
## performance
- https://forums.docker.com/t/mysql-slow-performance-in-docker/37179/21
2020-12-31 10:37:31 +01:00
## see
- https://stackoverflow.com/questions/37599128/docker-how-do-you-disable-auto-restart-on-a-container