Skip to content

nikhilo/docker-container-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-container-cleanup

A container that periodically cleans up exited containers

Configuration (Optional)

  • 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

Example run

docker run -d --name docker-container-cleanup -v /var/run/docker.sock:/var/run/docker.sock \
  nikhilo/docker-container-cleanup

About

A container that periodically cleans up exited containers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages