Y
Hacker News
new
|
ask
|
show
|
jobs
by
Animats
4076 days ago
Do Docker images really have to contain an entire bloated Linux distro? Even for Xen, which, as a hypervisor, provides fewer services than Docker, it's possible to write applications which run directly under Xen.
1 comments
errordeveloper
4076 days ago
They don't have to, one can run static binary without any problems. It's just that most people keep throwing in a whole distro...
link
iso8859-1
4075 days ago
You can't make a truly static binary with glibc, so almost no one has a toolchain that is able to do it.
link
michaelmior
4075 days ago
What do you mean by "truly static"?
link
iso8859-1
4063 days ago
One that doesn't try to load dynamic objects on runtime like glibc does, if you use certain functions.
link
zobzu
4075 days ago
im not sure why one wouldnt want a whole distro tho - it makes debugging, testing, etc far easier.
link