2 ms·
You are correct. The issue they really fix is that it is extremely difficult to actually distribute all dependencies along with an app on Linux. If you link wit
by IshKebab 10y ago
You are correct. The issue they really fix is that it is extremely difficult to actually distribute all dependencies along with an app on Linux. If you link with glibc they you are screwed.
There are starting to be ways around glibc, like muscl. And Go doesn't even use a C standard library at all - there's no way you can say that Docker is easier than just copying a single statically linked binary around. But I guess Docker came along before those solutions have become really popular, and it is easier to apply to existing apps.
I think the security isolation is a side-benefit that is used to obscure the real reason for docker (distributing apps on Linux sucks).
- akavel 10y agoAnother solution to dependencies distribution is NixOS.