Watchtower: Updatenotification when base image is updated

Created on 6 Aug 2019  路  3Comments  路  Source: containrrr/watchtower

Hi,

I want to monitor my base images of my containers. When my base image is outdated (e.g. FROM ubuntu:xenial) I want notification of it. Is this with watchtower possible, because this issue referencing it:
https://github.com/containrrr/watchtower/issues/85
but also says that it cannot work with custom images, what my container are.
The only software that comes from the internet, are the base images. when I update my layer I build it.
And when the container is running for months, I want to be notified when an update for the base image exists.

Medium Awaiting user Question

Most helpful comment

Hey there!

Thank you for your report. This is not possible with watchtower the way you described it.
However, if you create a stopped container of the base image you are using and then set watchtower to monitor stopped containers as well as only monitor these containers, you'd be able to get notified whenever that image gets updated.

Exactly how to do this is described in the docs, which you can find at:
https://containrrr.github.io/watchtower/arguments/#include_stopped
and
https://containrrr.github.io/watchtower/container-selection/ (example 2, but create instead of run)

Hope this helps. 馃檹

Simon

All 3 comments

Hi there!
Thanks a bunch for opening your first issue! :pray: As you're new to this repo, we'd like to suggest that you read our code of conduct

Hey there!

Thank you for your report. This is not possible with watchtower the way you described it.
However, if you create a stopped container of the base image you are using and then set watchtower to monitor stopped containers as well as only monitor these containers, you'd be able to get notified whenever that image gets updated.

Exactly how to do this is described in the docs, which you can find at:
https://containrrr.github.io/watchtower/arguments/#include_stopped
and
https://containrrr.github.io/watchtower/container-selection/ (example 2, but create instead of run)

Hope this helps. 馃檹

Simon

Ok thank you.
I try it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eloo picture eloo  路  5Comments

Ezwen picture Ezwen  路  6Comments

ghost picture ghost  路  4Comments

andreo picture andreo  路  6Comments

michael-siebers picture michael-siebers  路  5Comments