REPOSITORY TAG IMAGE ID CREATED SIZE
rabbitmq 4.0-management 5e283cfbf5e6 13 months ago 264MB
docker image inspect rabbitmq:4.0-management
"Created": "2024-09-20T21:15:09Z",
It is absolutely misleading to (just) show when an image has been pushed the last time, but hiding when it was actually built.
This is also a security problem, because it makes it difficult to recognize old images, possible containing security flaws that have been fixed meanwhile.
Or if you want to point out something that looks like a Docker Hub bug, or bad exprience, you can try the hub feedback
The date on Docker Hub shows when the image was “last pushed”, not when it was created, but I am a little confused as well. If I run the following command, I see folders created abuut 10 days ago, not in 2024:
docker run --rm -it --entrypoint "" rabbitmq:4.0-management ls -lahs /usr/lib/valgrind --full-time
I pruned all my images to make sure t is not because I had some of the layers already on my machine, but got the same output. So maybe it is a builder issue and the metadata was not updated for some reason. Since the image was pushed days ago, I would assume it was pushed because it was rebuilt.
Showing the time when it was created would still be a good idea.