8 Commits

Author SHA1 Message Date
Steve Shipway
d7e06867f8 Remove option to set Privileged mode, as this cannot be parameterised in the docker-compose YAML (#162) 2016-06-01 11:20:19 -07:00
steigr
8f8fee8e59 Janitor needs neither privileged mode nor network access. (#100)
* Janitor doen't need privileged mode nor networking

- remove "privileged: true" property
- add "net: none" property

The cleanup tasks runs entirely without networking on /var/run/docker.sock. The calling process can access the docker so it does not need to have privileged mode.

Signed-off-by: Mathias Kaufmann <me@stei.gr>

* Added boolean question for privileged mode.

Signed-off-by: Mathias Kaufmann <me@stei.gr>
2016-05-15 21:02:53 -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
4e88b991ae Add documentation for Janitor 2016-03-13 23:55:20 +00: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
sshipway
49f47f67cd More text 2016-03-04 02:06:56 +00:00
Steve Shipway
aa7337cfeb Add Janitor container definition 2016-03-04 01:45:37 +00:00