Skip to content

A tool to automatically cleanup residual docker artifacts

Notifications You must be signed in to change notification settings

ls1admin/docker-auto-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-auto-cleaner

A tool to automatically cleanup residual docker artifacts

Testing

!!! Attention !!! Be careful when running the tests, as they will remove all docker artifacts that are not in use.

Requirements

  • Kill containers running longer than a specified duration
  • Remove containers that have exited
  • Remove images haven't been used in a specified duration
  • Remove volumes that are not attached to any containers
  • Remove networks that are not attached to any containers
  • Remove the least recently used images if the total size of images exceeds a specified value