Commit Graph

716 Commits (a429c373ff0e9ba9aeab9b8581d5c369078ae4ab)
 

Author SHA1 Message Date
Brian DeHamer e21c21ec3b Account for latency in container removal
Under certain conditions when watchtower is monitoring a Docker Swarm
cluster there would be cases where an updated container could not be
started because the old hadn't yet been removed (name conflicts, mapped
port conflicts, etc). We suspect that this has something to do with the
async nature of swarm and even though we've asked the swarm master to
remove a container it may not be completely removed from the associated
node. The fix is to do some polling after the remove container call to
ensure that the container is truly gone before proceeding.
9 years ago
Brian DeHamer e06c46552a Support TLS connections to remote daemons 9 years ago
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.
9 years ago
Brian DeHamer 4275d1cd3d Add more accessors to Container struct 9 years ago
Brian DeHamer bfed95ecaf Support --debug flag
Also adds better logging output
9 years ago
Brian DeHamer 3d0c853e42 Add --no-pull support 9 years ago
Brian DeHamer a8dec129f5 Refactor Client interface 9 years ago
Brian DeHamer cc1efc20e2 Go-lint clean-up 9 years ago
Brian DeHamer 4ba21639a0 Allow user-configurable DOCKER_HOST 9 years ago
Brian DeHamer 00f2875abf Refactoring & renaming 9 years ago
Brian DeHamer 3dd06cffb1 Enable watchtower to update itself 9 years ago
Brian DeHamer 1f460997cb Wait for container stop after kill 9 years ago
Brian DeHamer 13ec7ac94e Fix aggressive image pulling
In cases where a container's image was specified without an explicit tag
watchtower was pulling ALL of the images. Fixed so that a ":latest" tag
is assumed if one hasn't been explicitly set.
9 years ago
Brian DeHamer 31b6a30686 Set-up CircleCI builds 9 years ago
Brian DeHamer c02c4b9ec1 Handle container links
Ensures that linked containers are restarted if any of their
dependencies are restarted -- and makes sure that everything happens in
the correct order.
9 years ago
Brian DeHamer ce4ed7316c Initial commit
Signed-off-by: Brian DeHamer <brian@dehamer.com>
9 years ago