Skip to content

Instantly share code, notes, and snippets.

@viettappcard
Created December 7, 2021 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viettappcard/43fe7dcb24488b6a72ed9845b33a53a1 to your computer and use it in GitHub Desktop.
Save viettappcard/43fe7dcb24488b6a72ed9845b33a53a1 to your computer and use it in GitHub Desktop.
Virtualization and Containerization on M1 Apple (Apple Silicon)

Apple Silicon is based on ARM architecture, which means that many current software that relies on Intel architecture (like VirtualBox's hypervisor) does not play nice. Here's my current research to set up my own M1 Apple:

Virtualization:

VirtualBox does not have an offering, use the VMWare Fusion Public Tech Preview (likely will be discontinued by Fall 2022). If interested in using Vagrant to manage VMs, use this gist by sbailliez which expands upon the official installation documentation to let Vagrant + VMWare + M1 to work (I currently have an Ubuntu 20.04 VM running).

Containerization

thankfully Docker has released Docker for Apple Silicon. And if anyone's really ambitious (I'm not but found it interesting), here's a guide to configure Docker as a VM to be managed by Vagrant (allowing the scenario of running Docker inside of a Docker "VM").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment