- Hello, do I understand correctly that the docker image in the hosted docker nexus and the same image:tag on the local host “docker pull image:tag” has a different size?
- How can I see the volume of an image in the Nexus Docker repository? Can this be done from the web interface? Without doing “docker pull”
Hi @impkos - this Help doc might be a good place to start to answer some of your questions.
For a docker tag the number you’d see in the Nexus UI is actually the bytes used by the manifest - not the size of all the layers. I don’t believe we calculate or display the latter anywhere in Nexus.
I wouldn’t be posting here if I didn’t find the answer in your help document
the image size of a contianer image is quite important meta information. Are there any plans to implement this feature on the server side? Can we open a feature request for this?
I don’t believe so - given layers are shared it isn’t an indicator for how much space something consumes within Nexus.
how then to understand how much space this or that layer takes up, how to keep statistics on the volume of images so that later you can think about which image is the heaviest in weight for its further deletion?
@mpiggott
What a pity to hear that.
What would be an alternative solution to determine the container image size (whether compressed or not) on the server side?
This information would be very helpful both for optimizing the image itself and for analyzing the growth of the Nexus container repositories.
In my opinion, downloading each image to a client first is not very useful here.