Live data from Hacker News

macOS in QEMU in Docker

github.com

51–60 of 199 posts

Re: macOS in QEMU in Docker

#51
post #13

So, to clarify things: it's QEMU running in a container, and macOS running under QEMU inside it. This is really nice WRT the ease of installation: no manual setup steps and all. This likely expressly violates the [macOS EULA], which says: «you are granted a limited, non-exclusive license to install, use and run one (1) copy of the Apple Software on a single Apple-branded computer at any one time» — because the point…

Why are you talking as though this is a new project. It's been around for years

Re: macOS in QEMU in Docker

#52
post #29

Earlier quoted context omitted.

I run Linux on a Mac book air, so this would allow me to run macos in a controlled environment if I could think of a good reason to do so.

Not sure that would be the case since it also includes this part > that is already running the Apple Software Running Linux on Apple hardware would not follow that part of the EULA.

good thing I can't think of any reason to run macos.

Re: macOS in QEMU in Docker

#54
The only chance at GPU acceleration is passing through a supported dGPU (>= AMD RX 6xxx @ 14.x, no chance modern nvidia) with PCI passthrough. Intel iGPUs work up to Comet lake, and some Ice Lake, but anything newer will not work.

Apple Silicon build of MacOS probably not going to be emulatable any time soon, though there is some early work in booting ARM darwin

Also Intel VT-x is missing on AMD, so virtualization is busted on AMD hosts although some crazy hacks with old versions of virtualbox can make docker kind of work through emulation

Re: macOS in QEMU in Docker

#56
post #13

So, to clarify things: it's QEMU running in a container, and macOS running under QEMU inside it. This is really nice WRT the ease of installation: no manual setup steps and all. This likely expressly violates the [macOS EULA], which says: «you are granted a limited, non-exclusive license to install, use and run one (1) copy of the Apple Software on a single Apple-branded computer at any one time» — because the point…

> So, to clarify things: it's QEMU running in a container, and macOS running under QEMU inside it. A bit tangential but is this more performant/"better" than running MacOS on say Hyper-V? I understand my zen 4 laptop anyway won't allow GPU acceleration, I'm only looking to run a few apps (and maybe Safari) on it.

My guess is that macOS on Hyper-V is faster.

Re: macOS in QEMU in Docker

#58
Let’s say I wanted to run a headless Logic Pro for programmatic music production. Would I use this? Or should I containerize the application itself? It’s okay if I have to run it on Apple hardware.

Re: macOS in QEMU in Docker

#59
Not to be confused with native Mac OS "containers":

https://darwin-containers.github.io/

This parent project is VMs of OSX with a docker interface, I think.

Darwin containers are runc reimplemented in terms of MacOS chroot, so you do some isolation on native macs in a docker style.

Re: macOS in QEMU in Docker

#60
post #52

Earlier quoted context omitted.

Not sure that would be the case since it also includes this part > that is already running the Apple Software Running Linux on Apple hardware would not follow that part of the EULA.

good thing I can't think of any reason to run macos.

The Tao of Programming, 7.3:

""" "Corporate Headquarters has commanded," continued the magician, "that everyone use this workstation as a platform for new programs. Do you agree to this?"

"Certainly," replied the master, "I will have it transported to the data center immediately!" And the magician returned to his tower, well pleased.

Several days later, a novice wandered into the office of the master programmer and said, "I cannot find the listing for my new program. Do you know where it might be?"

"Yes," replied the master, "the listings are stacked on the platform in the data center." """

https://quasi.in/digital/ttop.html#Book7

Post reply on HN