fmartinou / whats-up-docker

What's up Docker ( aka WUD ) gets you notified when a new version of your Docker Container is available.
https://fmartinou.github.io/whats-up-docker
MIT License
1.02k stars 33 forks source link

Unusual warning with fixed version image #250

Closed mattdale77 closed 1 year ago

mattdale77 commented 1 year ago

I am getting the following warning on startup. It took me a while to uncover what container it was but it is a mariadb container fixed to a specific release.

WARN whats-up-docker/watcher.docker.local: Cannot get a reliable tag for this image [sha256:aac2cf878de917be8d8f9824756ec5850ba7ccbfc71eaa85346635a50bd7eb89]

From the docker-compose.yml

image: mariadb:10.6

I'm not sure if this is a bug or an expected warning so I'll bring it up, just in case

fmartinou commented 1 year ago

Hi,

If you're pinning a container version (e.g. sha256:aac2cf878de917be8d8f9824756ec5850ba7ccbfc71eaa85346635a50bd7eb89), there is no way for wud to determine whether there is an update available or not.

Update candidate resolution can only work when using tags. That's why you get this warning.

mattdale77 commented 1 year ago

Is there a way to exclude this container or should I just ignore the warning?

fmartinou commented 1 year ago

You can include/exclude containers using labels: https://fmartinou.github.io/whats-up-docker/#/configuration/watchers/?id=labels

Examples:

mattdale77 commented 1 year ago

Perfect. Thank you.

I added the following label to the container

wud.watch=false