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

20 lines
422 B
Markdown
Raw Normal View History

2023-08-22 23:56:56 +02:00
# role native-docker
2020-12-31 10:37:31 +01:00
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
2023-08-22 23:56:56 +02:00
- https://stackoverflow.com/questions/37599128/docker-how-do-you-disable-auto-restart-on-a-container