Commit Graph

344 Commits (v0.3.10)
 

Author SHA1 Message Date
Ross Cadogan e011d3e0d2 Discard obsolete samalba/dockerclient library and dependent tests 8 years ago
Ross Cadogan ed035d6191 go fmt 8 years ago
Ross Cadogan 99ed959155 Port client lib from samalba/dockerclient to docker/docker/client 8 years ago
Ross Cadogan 25f1fee8e2 Private registry authentication distinct from host 8 years ago
Ross Cadogan 02bca8d6a4 Improve error reporting 8 years ago
Ross Cadogan c4efc83875 Improve error handling 8 years ago
Ross Cadogan 875efba1d5 Reinstate MAINTAINER and LABEL, Ubuntu base image required by dockerclient upgrade 8 years ago
Ross Cadogan 936928f7f0 Migrate Godeps/_workspace/ to vendor/ 8 years ago
David Gardner b3d83f99fe Merge pull request #13 from drud/master
Allow private image pulls
9 years ago
Erin Corson c8bb6c349d readme update 9 years ago
Erin Corson d36899dd7c parameterize repo auth 9 years ago
Erin Corson 337db1d458 merge resolution 9 years ago
Erin Corson f5801669ab updates 9 years ago
Erin Corson b1e70f494e will not compile without these updates due to change in docker lib 9 years ago
Harry Walter a74bc9b1b8 Fix env name 9 years ago
Harry Walter ac7375a1da Skip restarting 9 years ago
Harry Walter ad32d1c677 Setup using env vars as well. Add no retsart option 9 years ago
Brian DeHamer 2c0a9fa3d2 Minor README edits 9 years ago
Brian DeHamer 7cf2d7f1d8 Support Zodiac-based deployments
Since Zodiac always uses image IDs for deployments we can relay on the
standard container image field to determine the image that was used to
start the container. Luckily, Zodiac writes the original image name to a
label in the container metadata. If we find that Zodiac-specific label
on a running container we will use the associated value when trying to
determine if the container's image has changed.
9 years ago
Brian DeHamer a238521fc4 Configure hound 9 years ago
Brian DeHamer b0910ee20b Add support for whitelist of monitored containers 9 years ago
Brian DeHamer d6321bf8dc Add godoc comments 9 years ago
Brian DeHamer 058d6e5507 Turn DockerClient into dockerClient
No need to export this particular struct since we already have a public
Client interface available and a NewClient function which can be used to
instantiate the concrete struct.
9 years ago
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.
9 years ago
Brian DeHamer b8ba80df2d Update MAINTAINER email in Dockerfile 9 years ago
Brian DeHamer 0852ad12c5 Create LICENSE 9 years ago
Brian DeHamer 8636f6fb6b Add README content 9 years ago
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.
9 years ago
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>
10 years ago