A process for automating Docker container base image updates. https://containrrr.dev/watchtower/
Find a file
Dirk Kok 739f328ee5
feat(http): optional query parameter to update only containers of a specified image (#1289)
* feat(http): optional query parameter to update only containers of a specified image

* fix style issues

* comma separated image parameter

* Support comma-separated query parameter as well as specifying it multiple times

Co-authored-by: nils måsén <nils@piksel.se>

* fixed compile error

* fixed FilterByImageTag

Not sure what changed in my testing setup, but Docker reports image names including the tag name now.

* consistent use of image/tag (use image)

* fixed multiple image queries

* assuming I'm right here, only block on lock when any images are specified.

* add unit tests for image filter. didn't add tests for update api because they didn't already exist

* whoops.

* use ImageName instead, add unit test for empty ImageName filter.

Co-authored-by: nils måsén <nils@piksel.se>
2022-06-14 09:13:14 +02:00
.devbots add automatic issue locking 2020-04-25 21:56:57 +02:00
.github ci: add pip caching for docs workflow (#1292) 2022-05-24 10:28:48 +02:00
cmd feat(http): optional query parameter to update only containers of a specified image (#1289) 2022-06-14 09:13:14 +02:00
dockerfiles chore: bump alpine version in dockerfile (#1151) 2021-12-20 15:26:42 +01:00
docs fix(notifications): title customization (#1219) 2022-04-18 19:37:13 +02:00
grafana fix(templates): fix typo in grafana dashboard.json (#1305) 2022-06-10 10:09:25 +02:00
internal fix: testing for flag files on windows (#1249) 2022-04-18 19:38:19 +02:00
pkg feat(http): optional query parameter to update only containers of a specified image (#1289) 2022-06-14 09:13:14 +02:00
prometheus Prometheus support (#450) 2021-01-06 22:28:32 +01:00
scripts fix: linked/depends-on container restarting (#1103) 2022-01-11 17:15:22 +01:00
.all-contributorsrc docs: add ksurl as a contributor for infra (#1293) 2022-05-24 11:20:37 +02:00
.codacy.yml exclude markdown files from coverage analysis 2019-04-17 21:44:31 +02:00
.gitignore chore(deps): bump shoutrrr and containrd (#1088) 2021-10-09 12:12:34 +02:00
build.sh fix: testing for flag files on windows (#1249) 2022-04-18 19:38:19 +02:00
code_of_conduct.md Create code_of_conduct.md 2020-06-24 12:21:56 +02:00
CONTRIBUTING.md Fix typos (#554) 2020-05-29 10:59:52 +02:00
docker-compose.yml Prometheus support (#450) 2021-01-06 22:28:32 +01:00
docs-requirements.txt ci: add pip caching for docs workflow (#1292) 2022-05-24 10:28:48 +02:00
go.mod bump shoutrrr to v0.5.3 (#1271) 2022-04-11 16:09:24 +02:00
go.sum bump shoutrrr to v0.5.3 (#1271) 2022-04-11 16:09:24 +02:00
gopher-watchtower.png add logo to repo 2020-05-01 13:13:14 +02:00
goreleaser.yml * feat: custom user agent (#990) 2021-06-11 19:23:00 +02:00
LICENSE.md Possibility to disable the TLS verify for sending mails. 2018-02-27 01:23:28 +01:00
logo.png Add files via upload 2020-06-22 19:41:09 +02:00
main.go fix: remove linting issues 2019-07-22 12:10:57 +02:00
mkdocs.yml Fix docker-compose syntax in quick-start. GH #1105 (#1169) 2021-12-27 12:21:41 +01:00
README.md docs: add ksurl as a contributor for infra (#1293) 2022-05-24 11:20:37 +02:00
SECURITY.md Create SECURITY.md 2021-04-21 10:01:33 +02:00

Watchtower

A process for automating Docker container base image updates.

Circle CI codecov GoDoc Go Report Card latest version Apache-2.0 License Codacy Badge All Contributors Pulls from DockerHub

Quick Start

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

Documentation

The full documentation is available at https://containrrr.dev/watchtower.

Contributors

Thanks goes to these wonderful people (emoji key):


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

💻

Simon Aronsson

💻 🚧 👀 📖

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

📖

nils måsén

📖 💻

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

📖

This project follows the all-contributors specification. Contributions of any kind welcome!