Skip to content

Instantly share code, notes, and snippets.

@viettappcard
viettappcard / virtualize-containerize-apple-m1.md
Created December 7, 2021 15:19
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 fou

Vagrant and VMWare Tech Preview on Apple M1 Pro

This document summarizes notes taken while to make the VMWare Tech preview work on Apple M1 Pro, it originated from discussions in hashicorp/vagrant-vmware-desktop#22

Installing Rosetta

First install Rosetta if not already done, this is needed to run x86 code: