|
|
|
| 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? |
|
| 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. |
|
| "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. |
|
| Yes but the host he's using is Apple Silicon, I think what he's talking about is QEMU using Apple's Hypervisor Framework, which is what vmware Parallels, etc also use nowadays. Booting an apple silicon version of MacOS on non-Apple hardware probably isn't going to possible for a while as it would require emulation.
In 2021 Blackberry, surprisingly, wrote this article about getting emulating the XNU kernel and getting it running on non-apple hardware, but its just a terminal: https://blogs.blackberry.com/en/2021/05/strong-arming-with-m... Someone would have to write something that can emulate/abstract the apple iGPU to get anywhere near a usable GUI - I'm no expert but I don't think this is going to happen anytime soon, so when Intel releases of MacOS stop happening apple hardware might be the only way to virtualize MacOS for a while |
|
| 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 is to run it not on a Mac. So, pull it and keep it around; expect a C&D letter come any moment. [macOS EULA]: https://www.apple.com/legal/sla/docs/macOSMonterey.pdf (Other versions contain the same language.) |
|
| 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 same thing. So, lots of people very successfully use Docker on macOS, including on Apple hardware. This particular software would need nested virtualization to be highly performant, but at least on M3 or newer Macs running macOS 15 or newer, this is now supported by Apple's virtualization framework: https://developer.apple.com/documentation/virtualization/vzg... So, if that's not easy to do in a useful and performant way now, it will absolutely be possible in the foreseeable future. I'm sure that the longtime macOS virtualization product Parallels Desktop will add support for nested virtualization quite soon if they haven't already, in addition to whatever Docker Desktop and colima do. (Tangent: Asahi Linux apparently supports nested virtualization on M2 chips even though macOS doesn't.) |
|
| > I doubt that the intended target audience of this project is limited to Asahi Linux.
I guess that part of the license is meant to automatically disqualify an apple branded computer running a linux distro as host OS from running MacOS in a VM: "on each Apple-branded computer you own or control that is already running the Apple Software" Some smart ass might argue that "already running the Apple software" doesn't mean at the exact same time but more like "I am still running it sometimes as dual boot" but I am not sure this would pass the court test. And since I believe docker on MacOS runs on linux VM, so this would be running qemu on top of a linux vm on top of MacOS. I can't see any legit use of this. Anyone who would need automatized and disposable environments for CI/CD would simply use UTM on mac minis: https://docs.getutm.app/scripting/scripting/ |
|
| 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. |
|
| I believe it matches the base term, as you are allowed to run only one copy of the Apple software on an Apple hardware, unconditionally.
It could be in a VM. |
|
| You can run linux on a mac. In fact older intel used macs are inexpensive and run pretty well with little noise.
ubuntu installs and runs easily. Other versions of linux - it depends. |
|
| 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? |
|
| > because the point is to run it not on a Mac.
Says who? My Mac Mini runs Linux as the host OS, this project allows me to run MacOS as a guest OS on Apple hardware on demand. |
|
| GitHub repost are taken down all the time because they offer means to violate EULAs. See youtube-dl which was taken down couple of months back. |
|
| I wonder if progress will halt once newer versions of MacOS without Intel support are released?
Can I run docker inside this container to get MacOS to run inside MacOS? ;) |
|
| 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. |
|
| I tried this last year. It works though it's pretty slow.
I really hate having to also support the Apple ecosystem. Development, CI/CD integration is really poor without having to buy the hardware. |
|
| How many levels possible? Did anyone already try? I mean MacOS running on docker on MacOS running on docker on MacOS running on docker on MacOS... |
Worked really great otherwise, though. Very useful in a pinch.