Docker is a popular containerization platform that allows you to easily package, distribute, and run applications in lightweight, portable containers. In light of this, one of the essential tasks in Docker container management is keeping container images up-to-date with the latest software patches, security fixes, and feature updates.
In this article, Linuxiac introduces you to an exciting tool called “Watchtower,” which automates updating Docker container images. They explore what Watchtower is, how it works, and how it can simplify your Docker workflow.
There is a school of thought though that says you should not just allow auto-updates to take place because things can go wrong. For example, over the last 3 or so years I’ve been using Docker, there was once or twice that I had to manually run a command that did an update on the external database (which meant had to roll back the image update, run the update on the database, and then re-install the latest image). So, there is an option for Watchtower to just notify you of any image updates, and to not install them automatically (the option I use).
See https://linuxiac.com/watchtower-automatically-update-docker-container-images/
source https://gadgeteer.co.za/automatically-update-docker-container-images-with-watchtower/
Comments