mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2026-01-11 21:10:25 +01:00
Running on WSL2 and the keyboard or mouse got stuck during boot #283
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chengjiaozyl on GitHub (Dec 3, 2021).
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?
@sickcodes commented on GitHub (Dec 3, 2021):
I also have experienced this, it's due to low ram
-e RAM=5
@tobatha commented on GitHub (Dec 5, 2021):
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
@MikeCoder96 commented on GitHub (Dec 5, 2021):
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
@chengjiaozyl commented on GitHub (Dec 6, 2021):
just as sickcodes says, allocate more ram while start your container.
@chengjiaozyl commented on GitHub (Dec 6, 2021):
just as sickcodes says, allocate more ram when you start your container.
@chengjiaozyl commented on GitHub (Dec 6, 2021):
thank you, is that mean i can use the following command and use vnc to connect it? @MikeCoder96
@MikeCoder96 commented on GitHub (Dec 6, 2021):
@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.
@sickcodes commented on GitHub (Dec 28, 2021):
Type
device_add usb-mousecurrently is the solution