Getting Catalina instead of Sonoma #639

Open
opened 2025-12-29 01:24:06 +01:00 by adam · 2 comments
Owner

Originally created by @lightspect on GitHub (Feb 8, 2025).

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 \

Originally created by @lightspect on GitHub (Feb 8, 2025). 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 \`
Author
Owner

@sickcodes commented on GitHub (Feb 11, 2025):

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

@sickcodes commented on GitHub (Feb 11, 2025): I just ran your command above (without the VNC part) and it downloaded Sonoma? Try `docker pull sickcodes/docker-osx:latest` first?
Author
Owner

@lightspect commented on GitHub (Feb 11, 2025):

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 commented on GitHub (Feb 11, 2025): 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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#639