Fabrizio Steiner
d0ac9f14ab
some linting
2018-03-03 21:58:08 +01:00
Kaleb Elwert
de2ac9341d
Add a method of enabling or disabling containers using labels
...
Switch command line flag from no-enable to label-enable and simplify logic
Add basic documentation for the --label-enable flag
2017-11-27 12:42:22 +01:00
Ross Cadogan
6a56597d45
Refactor port mapping functions for build simplicity
2016-11-07 19:21:47 +00:00
Ross Cadogan
99ed959155
Port client lib from samalba/dockerclient to docker/docker/client
2016-10-13 21:34:24 +01:00
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.
2015-08-13 16:06:00 +00:00
Brian DeHamer
d6321bf8dc
Add godoc comments
2015-07-31 22:36:18 +00:00
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
4275d1cd3d
Add more accessors to Container struct
2015-07-22 22:52:22 +00:00
Brian DeHamer
cc1efc20e2
Go-lint clean-up
2015-07-21 21:40:22 +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