Hacker News new | ask | show | jobs
by throwaway27448 57 days ago
It's still not a bad idea to reduce attack surface. A VM is much easier to harden than a kernel.
2 comments

Of course it’s not a bad idea. It’s just a bad article.
In those two cases they also use VMs because they don't really have another cheap option.

Neither XNU/Darwin nor Windows have had an oob option for running Linux images. WSL is rather new in comparison.

Windows has native support for Win32 containers though, those don't need WSL, they build up on top of jobs infrastructure.
Sure but almost no OSS projects build containers for Windows (to my knowledge). The same goes for XNU/darwin afaik. They may get binaries but container images often assume Linux by default.

Developers, ime, also don't really want to start building their own container images for auxiliary services like, e.g., PostgreSQL, MongoDB or MySQL.

Having virtualized Linux support means you can take the existing ecosystem and make it accessible to the other two. It also means docker itself doesn't have to fully embrace & support either which is part of why it's "cheaper".