5 Commits

Author SHA1 Message Date
Marc Fournier
0d318696f8 upgrade janitor to latest image version, docker 1.9+ support (#154)
* Janitor: new docker-cleanup image version

The initial motivation for this version bump is support for docker 1.9+
Currently volumes don't get removed properly and lead to containers to
stall at start up, which is a pain to diagnose in rancher.

ref: https://github.com/meltwater/docker-cleanup/issues/24

* janitor: add support for KEEP_CONTAINERS_NAMED feature

* janitor: document '**None**' and '**All**'

* janitor: run with privileged mode unconditionnally

According to @sshipway, it seemed to be incompatible with a lot of
docker/rancher versions.

* janitor: bump docker-cleanup image version to 1.8.0
2016-09-22 13:33:54 -07:00
sshipway
5d12e5ebdd Add updated Janitor template using official meltwater/docker-cleanup
container image rather than the temporary patched version
Some fixes to the README documentation to help clarify behaviour and fix
typos.
2016-03-29 21:21:13 +00:00
James Oliver
bc26eb978e Add template validation, fix categories 2016-03-28 22:09:56 -07:00
sshipway
0c20789ec6 Updated Janitor with KEEP_CONTAINERS and wildcard matches
Default setting to keep ALL containers protects Rancher templates where
run-once containers are used; in general Rancher will remove its own
containers where necessary.
User of Shell Wildcards allows more flexibility when specifying images to be
kept during the sweep.
2016-03-13 23:47:26 +00:00
Steve Shipway
aa7337cfeb Add Janitor container definition 2016-03-04 01:45:37 +00:00