Skip to content

support macOS sandbox "containers" (...aka VMs) #91

@banksean

Description

@banksean

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions