Live data from Hacker News

macOS in QEMU in Docker

github.com

111–120 of 199 posts

Re: macOS in QEMU in Docker

#112
post #104
post #94

Earlier quoted context omitted.

So basically you can run macOS however you want as long as you're already running macOS on Apple hardware. The question I've always had is how enforceable is that really? Obviously the whole point of Apple making macOS freely available is to run it on Apple hardware. They don't give it out for free to run on other hardware but can they really do anything about that other than require you to enter a serial number to d…

Via surprise audits from organisations like BSA, in collaboration with the police. https://www.bsa.org/

For organizations, sure, but has this ever been done to an individual?

Re: macOS in QEMU in Docker

#113
post #89

Earlier quoted context omitted.

"Illegal" might be a bit strong, "Against the EULA" a bit more realistic, which may or may not be illegal, depending on the context and involved country.

I’m not a lawyer, but pretty sure unauthorized redistribution of copyrighted material is a crime (in the US.) This docker image contains Apple copyrighted files, probably, but anyone feel free to explain if I’m wrong.

I suspect that it probably doesn't matter; Apple has generally not cared about Hackintoshes as long as you aren't selling pre-made Hackintoshes. Apple probably doesn't really mind for stuff like this, since this probably isn't realistically eating much into Apple's market.

Re: macOS in QEMU in Docker

#114

This would be awesome to run iCloud sync on my homeserver. Currently, there is no good way to physically backup iCloud on a homeserver/nas, because it only runs on windows/apple.

How would this help with that? What would this let you do that's different than just rsync'ing your iCloud folder from a connected Mac/PC to your NAS?

Re: macOS in QEMU in Docker

#116
post #98

Earlier quoted context omitted.

Docker actually ships their easy-to-use and commercially supported Docker Desktop product for macOS, which uses Apple's standard virtualization framework under the hood. I think it then runs the Docker containers within a Linux VM that it manages. For people who want an open-source CLI solution rather than a commercial product which for larger businesses requires payment, there's also colima which does roughly the sa…

Running Linux in a VM (for Docker) to run an emulator (QEMU) in it to run macOS in that looks to me like a senseless waste of resources. Linux and Docker add no value into the mix here. The same result can be achieved by running macOS right in the VM. This can be extra efficient since both the host OS and the guest OS are macOS, and the VM could use this fact. It may make sense to run macOS in an emulator like QEMU u…

I agree the particular combo I was discussing is likely not very useful when compared to just directly virtualizing macOS directly, except in niche cases.

One such case, however, is when the user is already managing Linux Docker containers for other parts of their development or testing workflow and wants to manage macOS containers with the same tooling. That’s legitimate enough, especially when it ends up supporting nested virtualization of the same architecture and not true emulation, to keep the performance penalty modest enough.

Re: macOS in QEMU in Docker

#117

I'd love to try and see if it's possible to simply build for iOS. Say Unity, React Native, etc. This could be pretty awesome in terms of freedom, even if the build takes 5x more.

That would impressive if you could build for React Native iOS (with native Swift modules) and run it on a simulator in this on a Windows machine

you can! you can also run it on a real iOS device using this tech. it's explicitly documented in the repo :)

Re: macOS in QEMU in Docker

#118
post #101
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…

Can I get a whole bunch of Apple stickers and brand the heck out of an old Dell r630 Server and run this on it? Or how about a cattle brand with an Apple logo?

i remember making this joke a decade ago on the tonymacx86 forums, lots of people did it for the lulz

Re: macOS in QEMU in Docker

#119

Earlier quoted context omitted.

To be fair, I'm not sure any linux veterans are using Ubuntu. Its a popular OS, but its not a good OS. (Think terrible pop music that teenagers will still listen to) Even Debian has lost its favorability by having sooo much legacy bloat, bugs, and outdated kernels that wont run Nvidia GPUs(2023) or other recent peripherals. I'd be much more curious how Fedora or OpenSUSE hold up.

How do you define "veteran"? I've been a Linux-only user for 10 years, and 9.5 of it is strictly with Kubuntu.

Feeling old when I say I'm at 18 years.

But I think its an experience thing rather than 'years' thing. If you only used Ubuntu for 10 years, you wont know what modern linux is like.

You sound like a Kubunutu expert, not a linux expert.

Post reply on HN