QEMU based podman for Windows #14796
Replies: 6 comments 10 replies
-
Qemu is an option and is something we can look at, though the mechanism would differ from on Linux as the ignition config can not be set. IIRC we would also run into issues with the network options. Ideally we would have to build our own variant to use WHPX/HAXM (the HyperV platform extensions, Intel's HW Accelerated Execution Manager) otherwise performance will suffer. One of the points you raise is to avoid paravirtualization (hypercalls), as you mention it is a hard sell to run VMs in corporate environments. This is not the experience from dealing for five years with Minikube/Minishift and CDK. Some corporations might restrict the use and prefer the user not having a 'root' equivalent inside the VM. Note: You can also try crc which uses HyperV instead to deploy Podman, however this also relies on native virtualization options. Note3: I also ran this test without the |
Beta Was this translation helpful? Give feedback.
-
@imperialguy IMO you really need virt or the experience will be so poor that it's borderline unusable (as @gbraad indicates). I think if you are in a scenario where virt is inaccessible, then a remote container or a remote kube env is likely a better option than software emulation. Although, enabling local virt is fairly low overhead for an IT org. It's usually pre-enabled in hardware, so the change is really just group policy and feature enablement. |
Beta Was this translation helpful? Give feedback.
-
I made a proof-of-concept for Lima on Windows (including Podman running on Fedora Cloud), using QEMU with WHPX... But it has the same requirements on hardware and OS license as other Hyper-V users, perhaps more since WSL2 runs also on Windows Home. Podman example: https://github.com/lima-vm/lima/blob/master/examples/podman.yaml Like was shown above, the basic command used is: Agree that it would be better to use external servers, if local virtualization is not allowed by policy. |
Beta Was this translation helpful? Give feedback.
-
Is QEMU something you are actively pursuing as an option or is WSL2 the official emulator for podman on Windows? Assuming virt is enabled, for metrics like performance, ease-of-use etc.., how would you rate CRC vs WSL2 vs QEMU on Windows? Which one of them is the best based on your experiments? |
Beta Was this translation helpful? Give feedback.
-
Tracked as: |
Beta Was this translation helpful? Give feedback.
-
Can you provide a QEMU based podman for windows instead of WSL2? The reason being WSL2 requires virtualization, hardware acceleration enabled etc. And that's quite a hard sell especially when it comes to Windows VMs running in corporate environments.
Beta Was this translation helpful? Give feedback.
All reactions