Skip to content

gloppenhosting/cleanup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tutum/cleanup

Deploy to Tutum

System container used by Tutum to remove unused images. System containers are launched, configured and managed automatically by Tutum.

Usage

docker run -d \
  -v /var/run/docker.sock:/var/run/docker.sock:rw \
  [-e IMAGE_CLEAN_INTERVAL=1] \
  [-e IMAGE_CLEAN_DELAYED=1800] \
  [-e IMAGE_LOCKED="ubuntu:trusty, tutum/curl:trusty"] \
  tutum/cleanup

Environment variables

Key Description
IMAGE_CLEAN_INTERVAL (optional) How long to wait between cleanup runs (in seconds), 1 by default.
IMAGE_CLEAN_DELAYED (optional) How long to wait to consider an image unused (in seconds), 1800 by default.
IMAGE_LOCKED (optional) A list of images that will not be cleaned by this container, separated by ,

About

[Tutum System Image] Regularly cleans up images and volumes not used by docker

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 82.2%
  • Shell 17.8%