Preferences

So essentially the WSL in reverse?

I'm kind of surprised you can "run Windows" in a Docker container at all. Isn't the fundamental restriction of Docker that all containers share the same (linux) kernel? Is there a way for docker to inject a "translation layer" somehow that makes it look like an NT kernel for the Windows processes?


noisem4ker
The container runs a virtual machine using the host kernel's KVM device. Windows is then automatically installed inside said virtual machine.

https://github.com/dockur/windows

xg15 OP
Ah, that makes more sense (and learned about KVM today, thank you.)

So more accurately, it's Windows in a VM, and the VM host running in a container.

joseda-hg
Just for completeness sake, you can do native docker on windows on a windows host

Just no cross Kernel Linux on Windows (Unless passing over WSL) or Windows On Linux (Unless you virtualize in other ways and use that)

https://hub.docker.com/r/microsoft/windows#:~:text=How%20to%...

This item has no comments currently.