Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If I'm understanding what you wrote here, that is not true.

You can write a Dockerfile that inherits from "scratch," which projects an almost entirely empty overlay volume into the container's root volume. (I think it writes a .dockerenv file still.) From there, you can add a minimal rootfs that provides exactly just the system libraries your app needs to run.

This is the crux of the problem and a big part of the argument in this article: many devs don't know which dependencies they need from the system, so they create base images from the biggest Ubuntu base images they can find and then apt-get their way into a working system.

This works, but now you have a 3Gi image that has a ton of stuff outside of your apps's core supply chain that introduce risk.



I'm not sure which part you're saying is wrong. Your points seem to reaffirm what I wrote.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: