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

20 lines
436 B
Markdown

# role server_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
## see
- https://stackoverflow.com/questions/37599128/server_docker-how-do-you-disable-auto-restart-on-a-container