4 ms·
I feel like if you get to the point of considering docker-slim, you should consider alternate build strategies like compiling dependencies from scratch with min
by nijave 4y ago
I feel like if you get to the point of considering docker-slim, you should consider alternate build strategies like compiling dependencies from scratch with minimal functionality (like with buildroot)
Container optimization also seems to border on premature optimization. If you're not hitting issues with your container size, don't worry about it. People may scoff at a 10GB container but for something that doesn't scale or get built a lot, it may be fine.
There are also other options like pre-pulling containers on the machines running them (which you could build into a golden image) that can get you similar startup/pull speed gains for something like host auto scaling use cases
- encryptluks2 4y ago10GB containers are definitely too big. All my containers are under 100MB.