Runs a macOS image on QEMU in a docker container, with VNC, SSH and SPICE access.
1.4K
Runs a macOS image on QEMU in a docker container, with VNC, SSH and SPICE access on alpine linux
.qcow2 image (You can build a new one using foxlet's macOS-Simple-KVM tool)BaseSystem.img file (Convert it yourself from the .dmg, or use foxlet's macOS-Simple-KVM tool)ESP.qcow2 file from macOS-Simple-KVM tool/firmware folder from foxlet's macOS-Simple-KVM toolgit clone https://github.com/foxlet/macOS-Simple-KVM.gitfirmware directory from the macOS-Simple-KVM tool and your .qcow2 image into this repositoryBaseSystem.img and MyDisk.qcow2 image into this directorydocker-compose upVNC will be available on localhost port 5900
SSH will be available on localhost port 2222 (If turned on in the Settings > Sharing > Remote Access in your macOS image)
SPICE (along with system audio) will be available on localhost port 5930 (remote-viewer spice://localhost:5930)
docker build . -t macos-docker
To run, mount the following volumes:
And set the following environment variables:
Refer to the macOS-Simple-KVM repo for more info on customization
The base image built by the macOS-Simple-KVM tool has UUIDs that have been flagged by apple from too many setups, and so you likely won't be able to sign in to an apple account until you change them.
I recommend clover-configurator to modify the system to have new UUIDs before attempting to sign in to your apple account.
You can also use the same tool to modify the default resolution of your macOS image
docker pull buluma/macos-docker:latest