Since distroless are lacking all these tools other techniques needs to be used during troubleshooting and debugging.
I think distroless images are great. Less stuff to patch and smaller images.
Since distroless are lacking all these tools other techniques needs to be used during troubleshooting and debugging.
I think distroless images are great. Less stuff to patch and smaller images.
I share parent's view that it's marketed with the most provocative term to attract attention, where an appropriate name wouldn't have stirred enough controversy to their taste ?
In contrast a "system container" has a regular init system and likely also package management (although that is optional) but was created using a package manager so the miscellaneous package-installed files are usually in there.
The distroless images specifically don't give you a package manager, only specific packages needed for you to run.
It doesn't make sense in multiple ways.
"Distro" means "distribution", so "something that is distributed". Aren't "distroless" images being widely distributed?
It seems that "distroless" images are being built from a distribution, and then by removing some of the contents. So you must have a distro first, otherwise you can't have "distroless". That doesn't add up semantically.
If I seed Ubuntu it doesn't become blckoil distro. So the word distro means different from distribution.
A distroless image doesn't include a package manager. You cannot use anything in the provided distroless image to install software.
Some distros come with a lot of stuff. Some with very little.
That it can be used to make another distro has NO BEARING on this. What would you call that thing if it's not a distro? What is that noun?
Not at all. The establishment of a term, and giving it a definition that's widely agreed upon, by definition (heh) makes it not nonsensical.
> "Distro" means "distribution", so "something that is distributed"
No. In the Linux world a distribution means something much more restricted than that. It's a full system that can be installed, complete with a package manager, init system, etc.
"Distroless" simply means it's a minimal set of software and libraries such that it can run a particular binary that you copy into it, but it doesn't act like a distribution. You can't install libraries and programs into the container using a package manager, for example, like you'd be able to if your container held a stock Debian install.
> It seems that "distroless" images are being built from a distribution, and then by removing some of the contents. So you must have a distro first, otherwise you can't have "distroless". That doesn't add up semantically.
I don't see where you're getting that conclusion from. If you take a distro, install it into a container, and then strip away everything that makes it a distro, then it is indeed distroless. How you got there is irrelevant.
You could even build a distroless container without installing the distro into the container first. You could install the distro into a chroot (or into another container) and then selectively copy things out into the target container. Or if you were a masochist, I suppose you could even download source tarballs of everything you wanted in your distroless container, and manually build them on a host system and copy them into the container.
Again, how you get to the final state is irrelevant. The idea is that the final state is runnable, but does not contain all the bits you'd expect to see in an installed distro.
I'm confident saying a linux distro is anything with a linux kernel that you can slap on bare metal or a VM system and get something up and running.
You're merely describing a minimalist/specialized distro, a not particularly new or unique concept.
Of course you can find a way to be upset with the term if you want to, but I think it's in this sense that these container images are distroless.