Re:Tiny Container Challenge: Building a 6kB Containerized HT...
by pjmlp on Thursday April 22, 2021 @05:18AM
(#26900563)
I agree with the glibc issue, but that is a problem of GCC specifically.
My point is that I see containers being overused nowadays, like "big data" that fits on a USB pen kind of scenario.
Re:Tiny Container Challenge: Building a 6kB Containerized HT...
by hardwaresofton on Thursday April 22, 2021 @05:27AM
(#26900612)
Agreed -- containers are certainly being overused these days, I find a big indicator of when people know what they're talking about is when they mention/realize that docker is containerd these days (docker is simply a shim over containerd which uses runc underneath), but it is absolutely still very buzzword-y.
I think we've basically stumbled into a very effective and widespread packaging paradigm though -- now you don't even have to pick the right language/toolset to get static binaries easily -- just throw a container over the wall and your filesystem requirements (mounts), network requirements, etc will be made pretty obvious to the person doing the deployment
Re:Tiny Container Challenge: Building a 6kB Containerized HT...
by pjmlp on Friday April 23, 2021 @02:11AM
(#26911474)
Assuming that source and target hardware are the same, otherwise VMs enter into the picture, and stuff like Kata Containers add even more layers.
Then I remember Linus point of view about monolitic kernels and how they are supposed to beat micro-kernels, what for, when people put hundreds of virtualization layers on top.
Re:Tiny Container Challenge: Building a 6kB Containerized HT...
by dolmen on Friday April 23, 2021 @10:53AM
(#26915326)
Well as Docker even abstracts VMs (you can build and run a Linux/amd64 container from a MacOS/amd64 (soon MacOS/arm64 also)) the target OS and hardware become more and more just a deployment detail.
Half the "static" binaries that used to float around weren't even fully static because of glibc, until building with musl (and getting bit by getaddrinfo) became widespread -- the situation is not as simple as you made it seem.