Skip to content

Docker & virtualization

Because your Mac is bare metal (not itself a VM), you can run virtualization layers on top of macOS with full performance.

Install Docker Desktop (GUI) or Colima (lightweight, CLI-first):

Terminal window
brew install colima docker
colima start --cpu 4 --memory 8
docker run hello-world

For ephemeral, reproducible macOS build environments:

  • Tart — open-source macOS/Linux VMs on Apple Silicon:
    Terminal window
    brew install cirruslabs/cli/tart
    tart clone ghcr.io/cirruslabs/macos-sonoma-xcode:latest sonoma
    tart run sonoma
  • Anka (Veertu) — commercial macOS virtualization for build farms.

This pairs well with self-hosted runners for clean-room builds per job.