News for hackers. Stuff that matters.
Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by raesene9 on Tuesday June 27, 2023 @02:25AM (#36489526)
There's plenty of ways to build small container images that don't start with a "full" distribution, but whether they work for specific use cases will depend on what the applications need.

FROM Scratch - starts with a totally blank image, this is the smallest option but your application must work with no supporting files (e.g. statically compiled binaries).

Distroless - has a small number of standard OS support files but no package manager, so works where you don't need to install many OS packages.

Wolfi - Newer than the others, they're building an ecosystem of minimal images for specific purposes.

Re:Build Your Own Docker with Linux Namespaces, Cgroups, and... by RandomBK on Tuesday June 27, 2023 @03:41AM (#36490000)
And let's not forget Alpine, which is a fairly common minimalist distro clocking in a ~5MB