I did docker pull tiangolo/uwsgi-nginx-flask and this image size in docker hub is 345MB but when I pulled it to my local it increased to 963 MB.
So, Below are my questions:
Dockerhub compresses each layer in the image and store it.
For example: https://hub.docker.com/_/node?tab=tags
See the COMPRESSED SIZE tag on each image and it says:
This size is calculated by summing the image's layers, of which are compressed.
If you want to work with the image or create containers from it then the image has to be uncompressed. Docker controls this behaviour IMHO.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With