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:
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....
Jump to solution
3 Replies
Percy
Percy2mo ago
Project ID: N/A
madmoizo
madmoizoOP2mo ago
N/A
Solution
Brody
Brody2mo ago
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.
Want results from more Discord servers?
Add your server