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
921 stars 29 forks source link

Feature request: check dockerhub updates via mirror #396

Closed jehy closed 4 weeks ago

jehy commented 1 month ago

Hi! Is it possible to implement checking of dockerhup updates via mirror? For example, via google mirror mirror.gcr.io ?

fmartinou commented 4 weeks ago

Hi,

Won't mirror.gcr.io shut down?

https://cloud.google.com/artifact-registry/docs/transition/transition-from-gcr

Besides, some other registries are already implemented.

If some are missing, I could add them.

Also to be noticed: you can configure a custom registry that can also work (depending on how "standard" the registry is).

fmartinou commented 4 weeks ago

I just tested it; mirror.gcr.io already works out-of-the-box 😃.

Example: Run a container form mirror.gcr.io

 docker run -d --name nginx mirror.gcr.io/nginx:1.26

Run wud

docker run -d --name wud   -v "/var/run/docker.sock:/var/run/docker.sock" -p 3000:3000 fmartinou/whats-up-docker

Result image

jehy commented 4 weeks ago

Oh. I just had to specify image via gcr, not by docker hub, and it really works out if the box. That's great!

I suppose that using mirrors from docker daemon is not really necessary then :)