Automatically update your Docker images and containers
Shell
Permalink
Failed to load latest commit information.
etc renamed the cron script Feb 2, 2017
LICENSE added a license Jan 24, 2017
README.md updated the paths with renamed cron script Feb 3, 2017

README.md

Docker Auto-Update

This is a tool that helps you keeping your Docker images and containers up-to-date. It basically consists of three files:

You'll find more information on the Docker Auto-Update tool in my blog.

Installation

To install the Docker Auto-Update tool, you may clone the repository at GitHub. Then,

  1. move the ./etc/cron.daily/docker-updater script to /etc/cron.daily/docker-updater
  2. move the ./etc/default/docker-updater config file to /etc/default/docker-updater
  3. update the setup in /etc/default/docker-updater -- at least set ENABLED=1
  4. create a list of Docker Compose config files in /etc/docker-compose-auto-update.conf - one path to a docker-compose.yml per line.

If you're running a Debian-based system, you may instead use my apt-repository to install the Docker-Tools. In that case you just need to run

aptitude install bf-docker-tools

Afterwards, configure /etc/default/docker-updater and at least set ENABLED=1. This way, you'll always stay up-to-date with bug fixes and new features :)

Licence

Docker-Tools - a suite of tools for easier dockering
Copyright (C) 2016-2017 Martin Scharm <https://binfalse.de/contact/>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.