sickcodes / Docker-OSX

Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.
https://hub.docker.com/r/sickcodes/docker-osx
GNU General Public License v3.0
36.1k stars 1.78k forks source link

sickcodes/docker-osx:big-sur does not start directly into OSX #266

Open meydominic opened 3 years ago

meydominic commented 3 years ago

Hey, in readme you are writing:

The images (excluding :naked) launch a container with an existing installation with a couple of premade configurations:

But if I launch for example the following container:

docker run -it \
    --device /dev/kvm \
    -p 50922:10022 \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e "DISPLAY=${DISPLAY:-:0.0}" \
    sickcodes/docker-osx:big-sur

It launches into recovery and wants to (re)install OSX. Should it not start directly into OSX?

Did I do something wrong? Or did I missunderstand something?

I can provide logs and screenshots if necessary.

Thanks and best regards, Dominic

sickcodes commented 3 years ago

Yeah that's wrong, I'll fix it.

Only :auto is a fully installed system

galek commented 3 years ago

Yep, is actually for me too

sickcodes commented 3 years ago

https://github.com/sickcodes/Docker-OSX/commit/ee65907abe1acf696ba8ea51a5bd07b817516e1f?short_path=b335630#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5

Fixed documentation

sickcodes commented 3 years ago

Please add the following lines and you will be able to boot Big Sur!

    -e GENERATE_UNIQUE=true \
    -e MASTER_PLIST_URL=https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist \