4 ms·
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 a
by xg15 11mo ago
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 11mo agoThe 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 https://github.com/dockur/windows
- xg15 11mo agoAh, 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 11mo agoJust 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%20Use,new%20host%20builds https://hub.docker.com/r/microsoft/windows#:~:text=How%20to%...