Add Janitor container definition

This commit is contained in:
Steve Shipway
2016-03-04 01:45:37 +00:00
parent ffc90ce0c5
commit aa7337cfeb
5 changed files with 94 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# Janitor
### Topology
A Janitor instance will be started on every host that does not match the
scheduling rule (default is `janitor.exclude=true`).
### Operation
This will run a task daily (by default) that will delete any unused
image, and any orphaned volume. The rancher container images are excluded
from the list of images to clean up.
This will halp to prevent the /var/lib/docker filesystem from filling up
with old and unused container images.