Open fahrenhe1t opened 2 years ago
Diun only checks digest for specified image name (tag included) from database with the one being fetched but there is no relation between tags like a registry would do atm. I think this could be an opt-in feature.
This is also slightly related to #114
Behaviour
This happened on two containers. Initially I had two applications rolled out with specific version labels:
Both of the container images were the latest available at the time. I changed the docker-compose.yml for each of the apps to the latest tag and redeployed them (ex:
image: crazymax/diun:latest
). This resulted in the same container being listed twice when runningdocker image ls
:DIUN then sent a notification that it required an update, even though it was running the latest. Same thing happened with pihole. I had to delete the duplicate image tag to remedy the issue.
Steps to reproduce this issue
image: crazymax/diun:4.22
)docker compose down
image: crazymax/diun:latest
)docker image ls crazymax/diun
Expected behaviour
I think it would detect in this case that 4.22 is the latest version, which also shares the "latest" tag, so therefore a notification would not be generated.
Configuration