Hacker News new | ask | show | jobs
by nkuttler 1627 days ago
Docker is just another solution to the problem.
2 comments

It's a rather convoluted one though: rather than telling libraries to install in different places, they're installed "globally" within a chroot, which then gets tarred-up, which then gets untarred, then bind-mounted, then chrooted-into again.
A cross platform solution, which is nice.
It's not "cross-platform" at all, since Docker builds on Linux containers. For example, the Docker applications for Windows and macOS just run a Linux VM behind the scenes.

AFAIK you can't run Windows binaries using Docker, even if you're using Windows, since it's running in a Linux VM; likewise for macOS binaries on macOS, Solaris on Solaris, etc.

Docker on WSL2 kind-of runs on the host, though.
WSL1 as far as I understand works like wine, transpiling calls to NT. But isn't WSL2 just a VM?