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

Intel & AMD Selector small issue

Open sickcodes opened this issue 3 years ago • 5 comments

May be required to run latest (ventura):

  • AMD:

-e CPU='Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on'

  • Intel

-e CPU='host,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on'

For example:

docker run -it \
    --device /dev/kvm \
    -p 50922:10022 \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \
    -e GENERATE_UNIQUE=true \
     -e CPU='Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on' \
    sickcodes/docker-osx:ventura

sickcodes avatar Nov 18 '22 11:11 sickcodes

The latest update broke my functioning catalina image 2 hours before a presentation :(

Error message:

Screenshot_20221118_082112

Updating cpu & cpuid flags (the example and the comments above it differ...), ensuring the plist is provided and GENERATE_UNIQUE being set do not effect the error.

I assume this is related to something within this opencore pr...

dcarbone avatar Nov 18 '22 14:11 dcarbone

I apologize for that, it's due to naked being built off old latest, I was building it twice in a row but then had some Docker issue with latest Docker-CE not being backwards compatible for some reason. Rebuilding it now to push. And also my screenshot test failed coz EFI shows in boot menu now and became first boot option

sickcodes avatar Nov 18 '22 16:11 sickcodes

no worries, man :) this is an awesome project!

dcarbone avatar Nov 18 '22 16:11 dcarbone

Thanks mate!

The issue will solve by using the previous plist:

-e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/catalina/config-custom.plist'

I made a catalina branch to hold it there while I update and make sure all the images work

sickcodes avatar Nov 18 '22 16:11 sickcodes

May be required to run latest (ventura):

  • AMD:

-e CPU='Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on'

  • Intel

-e CPU='host,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on'

For example:

docker run -it \
    --device /dev/kvm \
    -p 50922:10022 \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \
    -e GENERATE_UNIQUE=true \
     -e CPU='Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on' \
    sickcodes/docker-osx:ventura

Did this every get integrated into Ventura as it is needed to perform updates now

MichaelZingman avatar Jun 08 '23 18:06 MichaelZingman