Docker image size
Some time ago it was possible to see the transfer progress and the docker image size in the build logs.
The image size was useful, it allowed me to notice that not installing
openssl
manually caused an increase in image size (from ~300mo to ~500mo)
so:
1 - Is there an other way to monitor the docker image size?
2 - Are there other packages to install manually to further decrease the docker image size?Solution:Jump to solution
Hello
We didn't remove it on purpose, we switched to buildkit to give our users much faster build and deploy times, and buildkit doesn't print a progress anymore, we have talked about adding a log to print the size, but now due to each layer being compressed and streamed separately to our internal registry - the added complexity isn't worth it unfortunately, so..
1. by building an image locally....
3 Replies
Project ID:
N/A
N/A
Solution
Hello
We didn't remove it on purpose, we switched to buildkit to give our users much faster build and deploy times, and buildkit doesn't print a progress anymore, we have talked about adding a log to print the size, but now due to each layer being compressed and streamed separately to our internal registry - the added complexity isn't worth it unfortunately, so..
1. by building an image locally.
2. very dependent on what you're doing, you will get the absolute smallest images from writing your own Dockerfile, that utilizes a final run image.