<macos/> ·Saturday, June 13, 2026· 1 min· 77 words

Helpful macOS Container Tool Commands

I’ve been living in Apple’s container tool for the last few days. A handful of commands come up a lot, and other team members have asked how, so I’m writing them down. Here are the three I reach for most.

  • container machine run --root runs your default machine as root.
  • usermod -aG sudo $user adds your user to the sudoers group once you’re root (install sudo first).
  • container machine logs shows the logs for your default machine.
macoscontainersapplecli