logoalt Hacker News

darthcircuityesterday at 3:03 AM4 repliesview on HN

You can run macOS in a docker container. There’s no hardware acceleration for gpu, but works well enough.

You can also try macinabox if you have unraid:

https://hub.docker.com/r/spaceinvaderone/macinabox

It’s probably the easiest way of setting up a Mac VM if you have unraid. I know there are similar options for qemu and kvm based hypervisors. If you have an amd gpu you should be able to pass it through.


Replies

hellzbellz123yesterday at 12:44 PM

But you can't distribute whatever you build legally as far as im aware. The apple sdks prevent you from shipping legally.

The only way atm is installing homebrew and using a gnu tool chain if I understand the license of the official sdks correctly?

show 1 reply
mherrmannyesterday at 5:33 AM

quickemu [1] is good at running macOS VMs.

1: https://github.com/quickemu-project/quickemu

WildWeazelyesterday at 5:52 AM

My only experience with docker is headless in CI. I do have AMD. I'll have to look into this. Thanks

Cloudefyesterday at 6:59 AM

Emulating mac or using mac SDKs on non apple devices is against apple's bullshit license though.

show 1 reply