apple/container does not support macOS guests, since it is designed around a linux runtime and thus linux guest containers specifically. See apple/container#611 for a detailed discussion of why it doesn't support macOS guests, and what some users are doing to achieve similar results via other means.
From that issue, I found some interesting leads to follow up on:
- https://github.com/cirruslabs/tart
- virtualization toolset to build, run and manage macOS and Linux virtual machines.
- Seems geared towards CI use cases
- Actually "A mini-CI for local agents" isn't a bad summary of my
sand workflow, now that I think of it.
- https://github.com/jianliang00/container
- a fork of apple/container that supports macOS runtimes, e.g.
container run --os darwin <image> <command>
- doesn't run "macOS containers" so much as it augments the apple/container CLI to provide a "container-like" frontend to macOS VMs.
- the macOS image format is apparently compatible with OCI, so they can be distributed like linux images
- https://github.com/jianliang00/open-box
- "A desktop app for creating and managing isolated Mac environments."
- depends on the jianliang00/container fork
apple/container does not support macOS guests, since it is designed around a linux runtime and thus linux guest containers specifically. See apple/container#611 for a detailed discussion of why it doesn't support macOS guests, and what some users are doing to achieve similar results via other means.
From that issue, I found some interesting leads to follow up on:
sandworkflow, now that I think of it.container run --os darwin <image> <command>