A container that periodically cleans up exited containers
- THRESHOLD (Default=85) : This is thedisk usage (in percentage) when you want the cleanup to get triggerred
- SLEEP (Default=30) : This is the frequency (in seconds) at which you want to check the threshold
docker run -d --name docker-container-cleanup -v /var/run/docker.sock:/var/run/docker.sock \
nikhilo/docker-container-cleanup