be6c1bc5fbb00a6ec626f70340de47b42bfabcd3
Implement a new docker_volume_monitor.py module that uses the Docker SDK to inspect running containers, retrieve volume sizes via the inspect API, and automatically stop containers when any mounted volume exceeds a configurable 1GB threshold, with a dry-run flag for safe testing.
Examples / research
This is a collection of source code examples and research that I share with others online. Not all is written by me. It's also used for just sharing resources on discussion forums. The contents are mainly destined to be read by a software developer.
Do you see something you want to know more about? Contact retoor@molodetz.nl.
Languages
Python
86.7%
C
8.7%
HTML
2.8%
JavaScript
1.5%
Shell
0.3%