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
40.28k stars 1.92k forks source link

After first installtion Big sur is booting into Recovery again and again. Cant see Macos partition i have created erlier . #358

Open bazinga007 opened 2 years ago

bazinga007 commented 2 years ago

I followed everything, and was able to install macos big sur and was able to use it. But after shutting down i can't boot into mac again. It boots into recovery Everytime and if i select Macos base system it asks me to reinstall again. What i m doing wrong? command i am using to run. sudo docker run -it --device /dev/kvm -p 50922:10022 -v /tmp/.X11-unix:/tmp/.X11-unix -e CPU_STRING=$(nproc) -e GENERATE_UNIQUE=true -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' -e "DISPLAY=${DISPLAY:-:0.0}" sickcodes/docker-osx:big-sur

sickcodes commented 2 years ago

After running it once, use docker start -ai xxxxxxxx where xxxxxxx is your Docker container ID.

Inspect container IDs using docker ps -a

bazinga007 commented 2 years ago

Thank u so much . It worked but with this starting command i m now able to go into mac big. But i can not pass -e RAM=8 or something to it. How and from where i should go to change ram and cpu cores?