hadlock 2 days ago

Is there any demand for mac binaries in production? I can't think of a single major cloud provider that offers Mac hardware based k8s nor why you'd want to pay the premium over commodity hardware. Linux seems to be the lingua franca of containerized software distribution. Even windows support for containers is sketchy at best

3
vineyardmike 2 days ago

> I can't think of a single major cloud provider that offers Mac hardware based k8s nor why you'd want to pay the premium over commodity hardware

If you're a dev team that creates Mac/iOS/iPad/etc apps, you might want Mac hardware in your CI/CD stack. Cloud providers do offer virtual Macs for this purpose.

If you're a really big company (eg. a top-10 app, eg. Google) you might have many teams that push lots of apps or app updates. You might have a CI/CD workflow that needs to scale to a cluster of Macs.

Also, I'm pretty sure apple at least partially uses Apple hardware in the serving flow (eg. "Private Cloud Compute") and would have an interest in making this work.

Oh, and it'd be nice to be able to better sand-box untrusted software running on my personal dev machine.

alwillis 2 days ago

> uses Apple hardware in the serving flow (eg. "Private Cloud Compute")

Private Cloud Compute is different hardware: https://security.apple.com/blog/private-cloud-compute/

vineyardmike 2 days ago

> The root of trust for Private Cloud Compute is our compute node: custom-built server hardware that brings the power and security of Apple silicon to the data center, with the same hardware security technologies used in iPhone, including the Secure Enclave and Secure Boot. We paired this hardware with a new operating system: a hardened subset of the foundations of iOS and macOS

I would cal this "Apple Hardware" even if its not the same thing you can buy at an Apple Store.

jurip 2 days ago

I don't think the parent was asking for server side macOS containerization, but desktop. It'd be nice to put something like Cursor in a sandbox where it really couldn't rm -rf your home directory. I'd love to do the same thing with every app that comes with an installer.

hadlock 2 days ago

I've had really poor experience doing anything with container deployed consumer apps in Linux. As soon as you even look at going out of the happy path, things immediately start going sideways.

duped 2 days ago

flatpak and snap are both containerization-adjacent technologies for consumer apps, docker containers are not really intended for that use case.

duped 2 days ago

You already can with `sandbox_exec`. And the entire entitlements design is there to force apps to have granular permissions.

hamandcheese 2 days ago

I think at one point (many years ago) I read that imgix.com was using macs for their image processing CDN nodes.

In my experience, the only use case for cloud macs is CI/CD (and boy does it suck to use macOS in the cloud).