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

Pull image name/tag from container.config.image if pinned #224

Open thevoltagesource opened 1 year ago

thevoltagesource commented 1 year ago

I ran into the issue described in issue #190 and I was too excited about this project to not do some investigation. I did some digging into the problem containers/images with docker Inspect and with the Node.js dockerode module, and I think I have a solution. I don't know how to set up your test apparatus, so I was not able to verify that my code changes didn't break any of your defined tests. I did test this solution against the vaultwarden example given in the issue on my local Docker Desktop, and also against the containers on my Docker Swarm instance where I encountered the problem.