-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: is this compatible with Windows 10? #17
Comments
Let me know if it worked. I'm interested in the results. |
did you use WSL2? and how were you able to set up the GUI for it please? |
@sickcodes thanks, when using WSL/2 virtualbox does not works. |
This will probably work. https://sourceforge.net/projects/vcxsrv/
It should open on your Windows desktop (to verify that X11 is working) Then you should be able to run the normal docker command at the top of the readme :) Unless nested virtualization is not enabled on WSL/2 Credit angellus: |
These are fantastic infos, thank you. I'll test them asap:) |
@ningacoding so you got it working fine? Even better you could add the Arch Linux WSL and just enter the commands in from the Dockerfile |
I got Ubuntu, WSL 2, XLaunch working well. Where do I go from there? |
@ningacoding @sickcodes $docker run --privileged -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix sickcodes/docker-osx
Could not access KVM kernel module: No such file or directory
qemu-system-x86_64: failed to initialize kvm: No such file or directory
$sudo apt install qemu qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager
$sudo systemctl enable libvirtd.service
$sudo systemctl enable virtlogd.service
$sudo modprobe kvm
modprobe: FATAL: Module kvm not found in directory /lib/modules/4.19.84-microsoft-standard Have you made any other changes to your WSL? |
Also stuck there :/ Edit: ok so on this thread: The latest fast build of windows is supposed to include kvm installed (for Intel) |
Enable Systemd in Ubuntu if needed: |
After those steps you should be able to Install Docker and Docker-OSX with Containers over containers: |
Thanks so much! Edit: Ok kvm is up and running! I did need to update to the latest preview build for windows. |
Confirm, launched. Little bit laggy and WSL starts using 16G of ram |
The problem with WSL it's the ausence of GPU and the problem with QEMU you can't choose a better CPU (the cpu of this repository is Core 2 Duo :/ ) |
I'm currently on Windows Pro 21H1 (Build 19043.985) and I can't get kvm to work.
After reading https://boxofcables.dev/accelerated-kvm-guests-on-wsl-2/ and https://dev.to/nicole/running-macos-on-windows-10-with-wsl2-kvm-and-qemu-21e1 it looks like I need to join Windows insider and update my Windows to the dev channel. Is this right? Is there any way around this? Reading the comments here it looks like it should work with my version, but I'm not sure. I can't get it to work. I tried 5.4.72-microsoft-standard-WSL2 and 5.10.16.3-microsoft-standard-WSL2, both didn't worked. I appreciate any help. |
KVM at least works on the newest dev builds including Windows 11. |
After following the superb https://boxofcables.dev/accelerated-kvm-guests-on-wsl-2/ and compiling a few kernels both KVM module and builtin I find KVM still does not work with Ubuntu/Microsoft 5.10.43.3 and Windows (Home64) 21H1 19043.1165 Perhaps there are settings within Windows that determine how it treats hypervisors or VM? Edit: /sys/module/kvm_intel/parameters/nested actually shows Y |
does it works for AMD? |
I got it working on my Zephyrus laptop Edition Windows 11 Pro Insider Preview .wslconfig |
is this compatible with Windows 10?
(the question is because https://github.com/kholia/OSX-KVM docs talks about running on Linux only.)
anyway i'm trying right now xD
also i'll try on a WSL2 Ubuntu instance (if Windows fails).
The text was updated successfully, but these errors were encountered: