i was notified (twice) of a new nginx image on latest tag with 35fab ID, and the one i have on my server is 07ccd. when i try as simple as docker pull nginx, it tells me the image is already up to date, while docker monitoring tool like portainer sometimes confirm that my running container is out of date, then suddenly it’s up to date again. could someone explain what’s going it?
If you want to “update” a container with a newer image, then you need to re-create it and make sure you have the right tag for the image.
since my nginx container is inside a compose stack, i indeed tried
docker compose pull then docker compose up -d --no-deps commands,
but my docker instance doesn’t “see” the new image for some reason.
What’s the image tag for nginx in compose file? Is it fixed to a certain tag?
no tag specified, which should pull the latest tag.
Then we need to dig deeper: which OS, which Docker version?
Ubuntu 24.04.3 LTS, Docker 28.2.2. just earlier i was able to pull the
“new” image, but that’s with 657fd ID, while current latest image is
7e034.
Hey, did you check if the nginx image you pulled actually has the same digest as that 35fab one you got notified about??
unfortunately the image ID is 657fd from 2 weeks ago, and doing docker
pull won’t do anything.
Is it solved already?
If you always see that you have an older docker image, it might be because you have a pull-through cache registry failing to update the cache and you get the older version.
Using the latest tag is not recommended anyway. It can easily break your project when an incompatible major version update happens.
If you still need the latest for any reason, can you share which ID you are comparing exactly?
The image ID you see in the “IMAGE ID” column is not always what you can see on Docker Hub. For me, it is on Windows (amd64) but not onMac (arm64). If you can share what nginx version is in the image we can check what is on Docker Hub, but I could not find any of the IDs you shared.
Why other automated processes fail, I have no idea. Unless it was something left behind after the Docker issues one day before your post.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.