Docker-OSX
Docker-OSX copied to clipboard
Running on WSL2 and the keyboard or mouse got stuck during boot
I have startup osx on win10 and wsl2(ubuntu subsystem), but after i run the docker command, like docker run .... sickcodes/docker-osx:latest, the x11 server got the gui output and showed in a window, after compiling, i could enter the boot menu, but usually, i got stuck and could not use mouse or keyboard anymore after i used the disk utility to erase a disk or i clicked the reinstall the mac os. Did it mean that any hardware on my pc could not handle this?
I also have experienced this, it's due to low ram
-e RAM=5
any luck with the mouse or keyboard functional? I ran into similar issue, during installation, unable to select Dist Utility or reinstall Big Sur @chengjiaozyl
I haven't experience this situation. I've used WSLg and it work great but not perfect, here a problem with WSLg You can also use vnc to bypass this problem, just use -vnc :0 and connect via VNC Client
any luck with the mouse or keyboard functional? I ran into similar issue, during installation, unable to select Dist Utility or reinstall Big Sur @chengjiaozyl
just as sickcodes says, allocate more ram while start your container.
I also have experienced this, it's due to low ram
-e RAM=5 thanks, it works.
any luck with the mouse or keyboard functional? I ran into similar issue, during installation, unable to select Dist Utility or reinstall Big Sur @chengjiaozyl
just as sickcodes says, allocate more ram when you start your container.
thank you, is that mean i can use the following command and use vnc to connect it? @MikeCoder96
docker run -i \
--device /dev/kvm \
-p 50922:10022 \
-p 5999:5999 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e "DISPLAY=${DISPLAY:-:0.0}" \
-e EXTRA="-display none -vnc 0.0.0.0:99,password=on" \
sickcodes/docker-osx:big-sur
@chengjiaozyl yes, it will work with vnc client. I will put an .sh file to start docker-OSX with VNC Server and make pull request.
Type device_add usb-mouse
currently is the solution