3 ms·
Agreed. The real problem is with the current tools for building images. As a proof of concept, several months ago I built a few tiny Docker images using musl l
by mwcampbell 12y ago
Agreed. The real problem is with the current tools for building images.
As a proof of concept, several months ago I built a few tiny Docker images using musl libc and no package manager. But I had do deviate from the normal image build process to do so.
http://mwcampbell.us/blog/tiny-docker-musl-images.html http://mwcampbell.us/blog/tiny-docker-musl-images.html
- agumonkey 12y agoHa, I wanted to do something similar to build tiny Virtual Box machines for network labs. I too ended up reading about sabotage linux. Great link !
- shykes 12y agoI am a big fan of these nano-images and really want to support them better in Docker's builder. See "nested builds" and "image squashing". Basically, you should be able to define a Dockerfile for the build environment, then within that define how to produce the final image. Then you need squashing to avoid carrying the build layers. I personally played with aboriginal Linux, but I believe it's the same idea :)