Sign inSign up

tutum/cleanup

By tutum

Updated over 10 years ago

[Tutum System Image] Cleans up unused images and volumes

Image
10

1M+

tutum/cleanup repository overview

tutum/cleanup

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

Usage

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

Environment variables

KeyDescription
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.
VOLUME_CLEAN_INTERVAL(optional) How long to wait to consider a volume unused (in seconds), 1800 by default.
IMAGE_LOCKED(optional) A list of images that will not be cleaned by this container, separated by ,

Tag summary

Content type

Image

Digest

sha256:b20ecb5dc

Size

4 MB

Last updated

over 10 years ago

docker pull tutum/cleanup