You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to 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>
2 years ago
.devbots add automatic issue locking 5 years ago
.github ci: add pip caching for docs workflow (#1292) 3 years ago
cmd feat(http): optional query parameter to update only containers of a specified image (#1289) 2 years ago
dockerfiles chore: bump alpine version in dockerfile (#1151) 3 years ago
docs fix(notifications): title customization (#1219) 3 years ago
grafana fix(templates): fix typo in grafana dashboard.json (#1305) 2 years ago
internal fix: testing for flag files on windows (#1249) 3 years ago
pkg feat(http): optional query parameter to update only containers of a specified image (#1289) 2 years ago
prometheus Prometheus support (#450) 4 years ago
scripts fix: linked/depends-on container restarting (#1103) 3 years ago
.all-contributorsrc docs: add ksurl as a contributor for infra (#1293) 3 years ago
.codacy.yml exclude markdown files from coverage analysis 6 years ago
.gitignore chore(deps): bump shoutrrr and containrd (#1088) 3 years ago
CONTRIBUTING.md Fix typos (#554) 5 years ago
LICENSE.md Possibility to disable the TLS verify for sending mails. 7 years ago
README.md docs: add ksurl as a contributor for infra (#1293) 3 years ago
SECURITY.md Create SECURITY.md 4 years ago
build.sh fix: testing for flag files on windows (#1249) 3 years ago
code_of_conduct.md Create code_of_conduct.md 4 years ago
docker-compose.yml Prometheus support (#450) 4 years ago
docs-requirements.txt ci: add pip caching for docs workflow (#1292) 3 years ago
go.mod bump shoutrrr to v0.5.3 (#1271) 3 years ago
go.sum bump shoutrrr to v0.5.3 (#1271) 3 years ago
gopher-watchtower.png add logo to repo 5 years ago
goreleaser.yml * feat: custom user agent (#990) 3 years ago
logo.png Add files via upload 4 years ago
main.go fix: remove linting issues 5 years ago
mkdocs.yml Fix docker-compose syntax in quick-start. GH #1105 (#1169) 3 years ago

README.md

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!