Docker image updater requires one or more configuration files which specify
sets of images to watch and commands to execute. By default it will look
for /etc/docker-image-updater.yml but you may give one or more alternate
files on the command-line.

When specifying more than one configuration file, the settings will be
merged together with items from the latter configuration file(s) overwriting
items from earlier files.

Recommended usage is to run docker image updater from cron, using
something like cronic to receive mail
only in case of errors.

The item watch defines sets of images to watch. This is a dictionary where
the keys (my-app in the example above) are arbitrary values for human
reference. Under each of these keys a dictonary with the items images and
commands is expected.

images defines a list of docker images to check for updates. You can
specify these as image:tag or simply as image, in which case Docker will
use the latest tag automatically.

commands defines a list of shell commands to execute whenever one of the
listed images was updated. These will be run sequentially, in order.

All items under config.docker are passed to the Docker client.
For supported options, refer to the
docker-py documentation.

Exit codes

Docker image updater will exit with status 0 when everything went well,
and there were either no updates or images were updated and all defined
commands returned status code 0.

If an image fails to update or one or more defined commands exits with
a non-zero exit status then docker image updater will itself exit with
status 1.

Star me

If you use this software, please consider
starring
it on GitHub. This will give me some idea of how much it is used by
other people.

0.0.1 (2015-03-01)

License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.