Open Alexhuszagh opened 2 years ago
It is actually a requirement by Qemu which Colima (and Lima) utilises.
Windows support might be possible in the near future https://github.com/lima-vm/lima/issues/909.
You can give https://rancherdesktop.io a try but it also utilises WSL2 on Windows.
Thanks for the quick feedback, please close this if you wish (I understand as well if you wish to keep this open and close once the upstream issue is done). I'll use my native Linux machine in the meantime. I've used Rancher but for this specific scenario, I need to use Colima (although once these issues are resolved).
Another feature that is important to macOS users. lima will support Virtualization.framework
to better performance x86_64
env from the next release. Maybe colima could also let the user choose which one to use. The good news is lima released a new beta version that supports Virtualization.framework
It's already being implemented in Colima 🤓 and will be part of v0.5.0 release.
That being said, I don't think virtualization.framework support changes anything for this issue.
I'm attempting to run Colima on WSL2 to debug an issue using for a controlled development environment. However, this produces an error saying
Waiting for the essential requirement 1 of 5: "ssh"
. Diving deeper, we can see this is an issue with KVM not being supported.Install Info
Colima was installed on Ubuntu 22.04 in WSL2 (Windows) using Homebrew:
brew install colima
. The version info is:Output and Logs
Attempting to run
colima start
produces the following terminal output:serial.log
is empty, however,ha.stderr.log
contains the necessary information:The key lines seem to be:
After ensuring the necessary packages for KVM were installed, we can see that KVM cannot be used currently:
Additional Info
I'm running Windows 10 Home, which cannot installed the Hyper-V role, which seems to be necessary for KVM support on WSL2 for nested virtualization, and it seems it's a bit complicated (requiring insider builds and compiling your own kernel), so it's more hassle than it's worth for me with my own Linux laptop.
Summary
It would be nice, however, to be able to disable KVM support if possible so I can run Colima frictionless on WSL2, even at a major performance hit.