ualex73 / monitor_docker

Monitor Docker containers from Home Assistant
Apache License 2.0
268 stars 34 forks source link

Feature: Version of running container or also image in registry #5

Closed spudje closed 3 years ago

spudje commented 4 years ago

Saw this coming by in HACS. Sounds interesting. This is a question (or feature request :) ) What I couldn't retrieve from the info is, does this also show the latest version of the image available on the registry, and optionally mark the running container as being out of date?

I don't want to run Watchtower or similar, just want a notification that a newer version of images is received.

ualex73 commented 4 years ago

That wasn't the goal of this custom component, but i will have a look what i can do (something similar is on my wish list, most likely it would be a separate custom component).

spudje commented 4 years ago

Thanks for the quick reply! Don't feel obliged to add this. There are different ways to achieve this as well, e.g. newreleases.io. I'll figure something out.

ualex73 commented 4 years ago

Thanks, i wasn't aware of the newreleases.io. That one seems to be easier to use, because it already interfaces to hub.docker.com ;-)

ualex73 commented 4 years ago

I checked the docker api and the aiodocker I used, but this can't be implemented. The docker api can't be used for this, and totally different http requests needs to be send to docker registry.

colemamd commented 4 years ago

There's already a built-in sensor for this. https://www.home-assistant.io/integrations/version/