A process for automating Docker container base image updates.
With watchtower you can update the running version of your containerized app simply by pushing a new image to the Docker Hub or your own image registry.
Watchtower will pull down your new image, gracefully shut down your existing container and restart it with the same options that were used when it was deployed initially. Run the watchtower container with the following command:
$ docker run --detach
--name watchtower
--volume /var/run/docker.sock:/var/run/docker.sock
containrrr/watchtower
Watchtower is intended to be used in homelabs, media centers, local dev environments, and similar. We do not recommend using Watchtower in a commercial or production environment. If that is you, you should be looking into using Kubernetes. If that feels like too big a step for you, please look into solutions like MicroK8s and k3s that take away a lot of the toil of running a Kubernetes cluster.
The full documentation is available at https://containrrr.dev/watchtower.
Thanks goes to these wonderful people (emoji key):
nils måsén ? ? |
Simon Aronsson ? ? |
James |
Florian ? |
Brian DeHamer ? |
Ross Cadogan |
stffabi ? |
Austin |
David Gardner ? |
Tanguy ⧓ Herrmann |
Rodrigo Damazio Bovendorp |
Ryan Kuba ? |
cnrmck |
Harry Walter |
Robotex |
Gerald Pape |
fomk |
Sven Gottwald ? |
techknowlogick |
waja |
Scott Albertson |
Jason Huddleston |
Napster |
Maxim |
Max Schmitt |
cron410 |
Paulo Henrique |
Kaleb Elwert |
Bill Butler |
Mario Tacke |
Mark Woodbridge |
Ansem93 |
Luka Peschke |
Zois Pagoulatos ? ? |
Alexandre Menif |
Andrey |
Armando Lüscher |
Ryan Budke |
Kaloyan Raev |
sixth |
Gina Häußge |
Max H. |
Jungkook Park |
Jan Kristof Nidzwetzki |
lukas |
Ameya Shenoy |
Raymon de Looff |
John Clayton |
Germs2004 |
Lukas Willburger |
Oliver Cervera |
Victor Moura |
Maximilian Brandau |
Andrew |
sixcorners |
Arne Jørgensen |
PatSki123 |
Valentine Zavadsky |
Alexander Voronin ? |
Oliver Mueller |
Sebastiaan Tammer |
miosame |
Andrew Metzger ? |
Pierre Grimaud |
Matt Doran |
MihailITPlace |
bugficks |
Michael |
D. Domig |
Ben Osheroff |
David H. |
Chander Ganesan |
yrien30 |
ksurl ? |
rg9400 |
Turtle Kalus |
Srihari Thalla |
Thomas Gaudin |
hydrargyrum |
Reinout van Rees |
DasSkelett |
zenjabba |
Dan Quan |
modem7 |
Igor Zibarev |
Patrice |
James White |
Dirk Kok |
EDIflyer |
Jauder Ho |
Tamal Das |
guangwu |
Florian Hübner |
Andrii Bratanin |
This project follows the all-contributors specification. Contributions of any kind welcome!