Ventura not working #496

Open
opened 2025-12-29 01:20:02 +01:00 by adam · 18 comments
Owner

Originally created by @FuadFox on GitHub (May 5, 2023).

Hello I am trying to run

docker run -it \
    --device /dev/kvm \
    -p 50922:10022 \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    -e GENERATE_UNIQUE=true \
    -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \
    sickcodes/docker-osx:ventura

# docker build -t docker-osx --build-arg SHORTNAME=ventura .

But once it runs I don't see a disk utility unlike others like catalina (Catalina worked fine, but I need a higher version to build IOS16 apps) it only shows two options. see the picture below.

Screenshot from 2023-05-05 15-49-38

and once I choose macOs Base System it shows this.
image

nothings more it just hangs there.

and if I choose UEFI Shell shows this and hangs.

image

how can I access the installer please help.

Linux fuad 6.2.0-20-generic #20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr  6 07:48:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
:0
1
PRETTY_NAME="Ubuntu 23.04"
NAME="Ubuntu"
VERSION_CODENAME=lunar
UBUNTU_CODENAME=lunar
Filesystem      Size  Used Avail Use% Mounted on
/dev/nvme0n1p2  457G  208G  227G  48% /
QEMU emulator version 7.2.0 (Debian 1:7.2+dfsg-5ubuntu2)
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
Command 'libvirtd' not found, but can be installed with:
sudo apt install libvirt-daemon
               total        used        free      shared  buff/cache   available
Mem:            13Gi       3.3Gi       343Mi        63Mi        10Gi        10Gi
Swap:          2.0Gi       1.4Gi       614Mi
8
8
crw-rw----+ 1 root kvm 10, 232 May  5 15:25 /dev/kvm
total 32K
drwxrwxrwt  2 root root 4.0K May  5 01:55 .
drwxrwxrwt 23 root root  24K May  5 15:46 ..
srwxrwxrwx  1 fuad fuad    0 May  5 01:55 X0
root        4008  0.6  0.3 1908608 50060 ?       Ssl  01:55   5:12 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
fuad     2526929  0.0  0.0   9300  2304 pts/4    S+   15:46   0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox dockerd
c74ee1e18ec4   sickcodes/docker-osx:ventura   "/bin/bash -c 'sudo …"   21 minutes ago   Up 21 minutes   0.0.0.0:50924->10022/tcp, :::50924->10022/tcp   goofy_tharp
kvm:x:109:
docker:x:999:fuad


Originally created by @FuadFox on GitHub (May 5, 2023). Hello I am trying to run ``` docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e GENERATE_UNIQUE=true \ -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \ sickcodes/docker-osx:ventura # docker build -t docker-osx --build-arg SHORTNAME=ventura . ``` But once it runs I don't see a disk utility unlike others like catalina (Catalina worked fine, but I need a higher version to build IOS16 apps) it only shows two options. see the picture below. ![Screenshot from 2023-05-05 15-49-38](https://user-images.githubusercontent.com/132674193/236461982-e86b412f-c8ec-4ba1-be77-b1f42693d20f.png) and once I choose `macOs Base System` it shows this. ![image](https://user-images.githubusercontent.com/132674193/236462299-08cb42e1-c7a3-4e26-9e38-24f7848f052e.png) nothings more it just hangs there. and if I choose `UEFI Shell` shows this and hangs. ![image](https://user-images.githubusercontent.com/132674193/236462831-f6fc8e42-0004-4152-9fa7-a1f42c7e6f74.png) how can I access the installer please help. ``` Linux fuad 6.2.0-20-generic #20-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 6 07:48:48 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux :0 1 PRETTY_NAME="Ubuntu 23.04" NAME="Ubuntu" VERSION_CODENAME=lunar UBUNTU_CODENAME=lunar Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p2 457G 208G 227G 48% / QEMU emulator version 7.2.0 (Debian 1:7.2+dfsg-5ubuntu2) Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers Command 'libvirtd' not found, but can be installed with: sudo apt install libvirt-daemon total used free shared buff/cache available Mem: 13Gi 3.3Gi 343Mi 63Mi 10Gi 10Gi Swap: 2.0Gi 1.4Gi 614Mi 8 8 crw-rw----+ 1 root kvm 10, 232 May 5 15:25 /dev/kvm total 32K drwxrwxrwt 2 root root 4.0K May 5 01:55 . drwxrwxrwt 23 root root 24K May 5 15:46 .. srwxrwxrwx 1 fuad fuad 0 May 5 01:55 X0 root 4008 0.6 0.3 1908608 50060 ? Ssl 01:55 5:12 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock fuad 2526929 0.0 0.0 9300 2304 pts/4 S+ 15:46 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox dockerd c74ee1e18ec4 sickcodes/docker-osx:ventura "/bin/bash -c 'sudo …" 21 minutes ago Up 21 minutes 0.0.0.0:50924->10022/tcp, :::50924->10022/tcp goofy_tharp kvm:x:109: docker:x:999:fuad ```
Author
Owner

@FuadFox commented on GitHub (May 5, 2023):

@sickcodes can you help with this please

@FuadFox commented on GitHub (May 5, 2023): @sickcodes can you help with this please
Author
Owner

@PTAHume commented on GitHub (May 5, 2023):

hi could you try the following and see if it works for you

could you beforehand ensure you have run

wsl --update
wsl
sudo su
<<enter your password for the destro>>
sudo apt -y install libvirtd
sudo apt -y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu qemu-kvm
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get full-upgrade

then run the

docker run -it \ --privileged \
    --device /dev/kvm \
    -p 50922:10022 \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    -e GENERATE_UNIQUE=true \
    -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \
    sickcodes/docker-osx:ventura

i hope this helps ?

@PTAHume commented on GitHub (May 5, 2023): hi could you try the following and see if it works for you could you beforehand ensure you have run ``` wsl --update wsl sudo su <<enter your password for the destro>> sudo apt -y install libvirtd sudo apt -y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu qemu-kvm sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get full-upgrade ``` then run the ``` docker run -it \ --privileged \ --device /dev/kvm \ -p 50922:10022 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e GENERATE_UNIQUE=true \ -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \ sickcodes/docker-osx:ventura ``` i hope this helps ?
Author
Owner

@arjanflac commented on GitHub (May 7, 2023):

Format drive to mac OS extended (Journaled) instead of APFS
Long time issue.

Please document or fix

https://github.com/sickcodes/Docker-OSX/issues/511
https://github.com/sickcodes/Docker-OSX/issues/571

https://github.com/sickcodes/Docker-OSX/issues/571#issuecomment-1427754105

@arjanflac commented on GitHub (May 7, 2023): Format drive to mac OS extended (Journaled) instead of APFS Long time issue. Please document or fix https://github.com/sickcodes/Docker-OSX/issues/511 https://github.com/sickcodes/Docker-OSX/issues/571 https://github.com/sickcodes/Docker-OSX/issues/571#issuecomment-1427754105
Author
Owner

@richardbowman commented on GitHub (May 19, 2023):

The issue occurs before formatting the disk - after selecting from the boot loader, the image hangs just as @FuadFox mentioned. Unfortunately with XCode now requiring Ventura, my whole plan to use IOS Simulator on my Linux box is on pause I guess :-)

@richardbowman commented on GitHub (May 19, 2023): The issue occurs before formatting the disk - after selecting from the boot loader, the image hangs just as @FuadFox mentioned. Unfortunately with XCode now requiring Ventura, my whole plan to use IOS Simulator on my Linux box is on pause I guess :-)
Author
Owner

@richardbowman commented on GitHub (May 19, 2023):

Hmm the exact thing is also happening for me with Monterey, even though Catalina worked fine.

image

@richardbowman commented on GitHub (May 19, 2023): Hmm the exact thing is also happening for me with Monterey, even though Catalina worked fine. ![image](https://github.com/sickcodes/Docker-OSX/assets/1568820/3cb05e53-5c96-4382-9252-0a7d924e6968)
Author
Owner

@programmrz commented on GitHub (May 23, 2023):

What CPU are you running on your Linux box? Ventura requires AVX2 support.

@programmrz commented on GitHub (May 23, 2023): What CPU are you running on your Linux box? Ventura requires AVX2 support.
Author
Owner

@danrossi commented on GitHub (May 25, 2023):

I'm struggling to get Ventura working on AMD. Ryzen supports AVX2. Its booting into recovery. Vmware went into boot loops. ITs needed for IOS 16.4 dev

@danrossi commented on GitHub (May 25, 2023): I'm struggling to get Ventura working on AMD. Ryzen supports AVX2. Its booting into recovery. Vmware went into boot loops. ITs needed for IOS 16.4 dev
Author
Owner

@richardbowman commented on GitHub (May 30, 2023):

I'm on an AMD Ryzen 7 3700. Checking for AVX2, cpuinfo shows it.

@richardbowman commented on GitHub (May 30, 2023): I'm on an AMD Ryzen 7 3700. Checking for AVX2, cpuinfo shows it.
Author
Owner

@tejas-luthra commented on GitHub (Jun 8, 2023):

I am on AMD Ryzen 7 5800H and I am also experiencing the same issue. I can confirm that my CPU does support avx.

@tejas-luthra commented on GitHub (Jun 8, 2023): I am on AMD Ryzen 7 5800H and I am also experiencing the same issue. I can confirm that my CPU does support avx.
Author
Owner

@DoubleMalt commented on GitHub (Jun 8, 2023):

Format drive to mac OS extended (Journaled) instead of APFS Long time issue.

Please document or fix

#511 #571

#571 (comment)

This doesn't work for me either.

/edit

Addition: Also installing Monterey on HFS and upgrading to Ventura doesn't work. Ends in a boot loop. My System is a Xeon E5-1650 with axv2 support

@DoubleMalt commented on GitHub (Jun 8, 2023): > Format drive to mac OS extended (Journaled) instead of APFS Long time issue. > > Please document or fix > > #511 #571 > > [#571 (comment)](https://github.com/sickcodes/Docker-OSX/issues/571#issuecomment-1427754105) This doesn't work for me either. /edit Addition: Also installing Monterey on HFS and upgrading to Ventura doesn't work. Ends in a boot loop. My System is a Xeon E5-1650 with axv2 support
Author
Owner

@danrossi commented on GitHub (Jun 10, 2023):

I think they have well and truely broken VM on Windows AMD specifically. Ryzen has the required support. VMWare works up to Ventura but simulator crashes. Simulator doesn't load in Docker. They make you require Ventura for IOS 16.5

@danrossi commented on GitHub (Jun 10, 2023): I think they have well and truely broken VM on Windows AMD specifically. Ryzen has the required support. VMWare works up to Ventura but simulator crashes. Simulator doesn't load in Docker. They make you require Ventura for IOS 16.5
Author
Owner

@g3kk0 commented on GitHub (Jul 13, 2023):

I noticed a similar issue when selecting macOs Base System on this screen.

What worked for me was not manually selecting anything and allowing the boot screen to auto select macOs Base System by just waiting (appears to have a 30-60 timeout).

@g3kk0 commented on GitHub (Jul 13, 2023): I noticed a similar issue when selecting `macOs Base System` on this screen. ![](https://user-images.githubusercontent.com/132674193/236461982-e86b412f-c8ec-4ba1-be77-b1f42693d20f.png) What worked for me was not manually selecting anything and allowing the boot screen to auto select `macOs Base System` by just waiting (appears to have a 30-60 timeout).
Author
Owner

@kocoman2 commented on GitHub (Aug 29, 2023):

is there any way to get the error log?

@kocoman2 commented on GitHub (Aug 29, 2023): is there any way to get the error log?
Author
Owner

@metal3d commented on GitHub (Oct 22, 2023):

What worked for me was not manually selecting anything and allowing the boot screen to auto select macOs Base System by just waiting (appears to have a 30-60 timeout).

On my side, it didn't changed anything. It restarts again and again, and I only see the scree you show. I never had the screen to use disk utility tool.

I see this after 2 reboots...

Screenshot from 2023-10-22 15-53-03

@metal3d commented on GitHub (Oct 22, 2023): > What worked for me was not manually selecting anything and allowing the boot screen to auto select `macOs Base System` by just waiting (appears to have a 30-60 timeout). On my side, it didn't changed anything. It restarts again and again, and I only see the scree you show. I never had the screen to use disk utility tool. I see this after 2 reboots... ![Screenshot from 2023-10-22 15-53-03](https://github.com/sickcodes/Docker-OSX/assets/100080/1f481d5b-ea48-41dd-8038-c47b4d797048)
Author
Owner

@metal3d commented on GitHub (Oct 22, 2023):

This is the exact thing I see:

Screenshot from 2023-10-22 15-57-22
Screenshot from 2023-10-22 15-57-34
Screenshot from 2023-10-22 15-57-40
Screenshot from 2023-10-22 15-57-59
Screenshot from 2023-10-22 15-58-49

And then go back to the first image, again and again...

@metal3d commented on GitHub (Oct 22, 2023): This is the exact thing I see: ![Screenshot from 2023-10-22 15-57-22](https://github.com/sickcodes/Docker-OSX/assets/100080/147e4ba1-ff23-43d0-b748-b2d211547966) ![Screenshot from 2023-10-22 15-57-34](https://github.com/sickcodes/Docker-OSX/assets/100080/d6ee4886-52c5-4c3e-886a-9938946c0bd4) ![Screenshot from 2023-10-22 15-57-40](https://github.com/sickcodes/Docker-OSX/assets/100080/f758a7ba-8cdd-48cf-bb19-da86a8139a2a) ![Screenshot from 2023-10-22 15-57-59](https://github.com/sickcodes/Docker-OSX/assets/100080/def8c9af-b98c-4bfd-8663-17903fbace1a) ![Screenshot from 2023-10-22 15-58-49](https://github.com/sickcodes/Docker-OSX/assets/100080/5b9982f0-f28b-4a17-aed0-fd9c0a5a0db0) And then go back to the first image, again and again...
Author
Owner

@metal3d commented on GitHub (Oct 23, 2023):

OK, the AMD CPUs are not supported.

@metal3d commented on GitHub (Oct 23, 2023): OK, the AMD CPUs are not supported.
Author
Owner

@Kaympe20 commented on GitHub (Oct 24, 2023):

This issue also occurs in OSX-KVM

@Kaympe20 commented on GitHub (Oct 24, 2023): This issue also occurs in [OSX-KVM](https://github.com/kholia/OSX-KVM)
Author
Owner

@SuperKeith333 commented on GitHub (Nov 26, 2023):

Try adding the boot options from sosumi launch from snap. I had the same problem on both my computers and it fixed it

@SuperKeith333 commented on GitHub (Nov 26, 2023): Try adding the boot options from sosumi launch from snap. I had the same problem on both my computers and it fixed it
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Docker-OSX#496