Docker-OSX icon indicating copy to clipboard operation
Docker-OSX copied to clipboard

Getting Catalina instead of Sonoma

Open lightspect opened this issue 10 months ago • 2 comments

I am using Windows 11 with WSL. Previously I ran the Ventura version and it was able to boot, but I was having problem with some colors and the iOS Simulator was showing black screen only, so I tried switching to the newer Sonoma. This is the command I ran:

docker run -it --device /dev/kvm \ -p 5999:5999 \ -p 5998:5998 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e EXTRA="-display none -vnc 0.0.0.0:99,password=off" \ -e GENERATE_UNIQUE=true \ -e RAM=12 \ -e CPU='Haswell-noTSX' \ -e CPUID_FLAGS='kvm=on,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on' \ -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom-sonoma.plist' \ -e SHORTNAME=sonoma \ sickcodes/docker-osx:latest

However, after it downloaded, it booted into Catalina instead of Sonoma. Is there a way to get Sonoma instead?

Also some problem: I tried getting PulseAudio to work but it always resulted in: pa_context_connect() failed connection refused

The extra parameter I added was: -e AUDIO_DRIVER=pa,server=unix:/tmp/pulseaudio.socket \ -v /mnt/wslg/runtime-dir/pulse/native:/tmp/pulseaudio.socket \

lightspect avatar Feb 08 '25 21:02 lightspect

I just ran your command above (without the VNC part) and it downloaded Sonoma? Try docker pull sickcodes/docker-osx:latest first?

sickcodes avatar Feb 11 '25 07:02 sickcodes

Thank you for testing. I just found out that the command I ran I missed the SHORTNAME part, now I am able to run Sonoma, but it is much more laggy than Ventura, so I will go back to it instead. Though the PulseAudio part is still not solved

lightspect avatar Feb 11 '25 08:02 lightspect