Brian DeHamer
dd80aa4a0d
Support for --cleanup flag
...
The --cleanup flag will cause watchtower to automatically remove the old
image after a container is restart with a new image.
2015-07-31 18:24:27 +00:00
Brian DeHamer
812fb60805
Handle errors without halting
...
If we receive an error while trying to shutdown/startup a particular
container we don't want to immediately terminate the current update
cycle. Instead we should continue processing the remaining containers
and simply log the error.
2015-07-29 20:03:47 +00:00
Brian DeHamer
b7424e5c47
Fix issue where updated containers aren't stopped
...
Used 'break' instead of 'continue' resulting in the termination of the
stop container loop any time the watchtower container is encountered.
2015-07-24 21:11:49 +00:00
Brian DeHamer
bfed95ecaf
Support --debug flag
...
Also adds better logging output
2015-07-22 21:58:16 +00:00
Brian DeHamer
a8dec129f5
Refactor Client interface
2015-07-21 22:41:58 +00:00
Brian DeHamer
4ba21639a0
Allow user-configurable DOCKER_HOST
2015-07-21 19:37:18 +00:00
Brian DeHamer
00f2875abf
Refactoring & renaming
2015-07-21 16:58:31 +00:00