Hacker News new | ask | show | jobs
by grumblez 2608 days ago
Finally. Won't need to run a VM for Docker anymore
2 comments

Does that mean that Docker for Windows will no longer require Hyper-V? And therefore will be available for Windows home editions?
Yes, it looks so. They will add a few syscalls that Docker needs to WSL and we will use it on Home Edition.
It'll be interesting to see details here, which I guess will come out over the next couple of days.

They could either go the syscall emulation route (as in current WSL), or possibly the "thin hypervisor" route, the fact they're talking kernel versions makes me think that may be what they're planning...

I suspect it's the "thin hypervisor", aka LCOW + hyperv isolation. https://devblogs.microsoft.com/premier-developer/running-doc...

(I work at Microsoft but have no inside knowledge on this; just speculating.)

Just saw there's some more technical details here https://devblogs.microsoft.com/commandline/shipping-a-linux-....

Whilst it doesn't explicitly mention Virtual Machines or Hypervisors, I'd read this as making use of that kind of technology with some additional tech. for interop with Windows to the level of WSL currently.

EDIT: and here's the confirmation https://devblogs.microsoft.com/commandline/announcing-wsl-2/ it's a VM

Indeed.

I've been running WSL for over a year with Docker for Windows and while the experience feels native to WSL (WSL has no problem running the Docker CLI and connecting to Docker for Windows) it'll be a very nice perk to just apt install Docker in WSL and not deal with DfW.