Virtual machines on Apple Silicon
You will build a Linux virtual machine on your Apple Silicon Mac using Colima and the Virtualization framework. You will point Docker to this VM and manage it with simple commands. You will share files between your Mac and the VM using virtiofs mounts. You will run AMD64 container images efficiently using Rosetta translation instead of slow emulation.
You will size your VM correctly for your specific Mac hardware to avoid resource issues. You will create a plain Ubuntu VM with Lima for lab environments. You will configure launchd to start your VM automatically when you log in. You will learn to stop and clean up these virtual machines when you are done.
What you'll learn
- Start a Colima VM using the Apple Virtualization framework
- Share files between Mac and VM using virtiofs mounts
- Run AMD64 images on ARM using Rosetta translation
- Size VM resources based on your Mac's hardware specs
- Start VMs automatically at login using launchd services
Who this is for
- • Developers moving into DevOps or infrastructure roles
- • System administrators learning modern tooling
- • CS students building practical skills
Prerequisites
- • Homebrew installed
- • colima package
- • lima package
- • docker command line
Course content
2 modules, 6 lessons, 19m of video
Module 1
3 lessons, 10 min
4 min
The learner sets up a Linux virtual machine on an Apple Silicon Mac using Colima and points Docker to it. They learn how containers run inside a Linux VM, which is managed by tools like Lima and VZ.
3 min
The learner shares files between the Mac and the Lab VM using virtiofs and then restricts the VM's visibility to specific folders. This demonstrates how file sharing works and how to limit access for containers.
4 min
The learner runs AMD64 container images on an ARM processor using both QEMU emulation and Rosetta translation. The lesson compares the speed of these methods against native ARM64 execution.
Module 2
3 lessons, 10 min
4 min
The learner sizes a lab VM for a Mac by considering the host's hardware and the VM's needs for CPUs, memory, and disk. They learn specific guidelines for setting these resources based on the Mac's specifications.
4 min
This lesson shows how to create a plain Ubuntu VM using Lima for lab environments. The learner learns to define the VM settings in a YAML file and manage its lifecycle using Lima commands.
4 min
The learner learns how to start a lab VM automatically upon login using launchd, which is the service manager of Mac OS. The lesson also covers how to stop the VM and clean up resources.
Get started
Start Free LessonFirst lesson is always free — no signup required
This course includes
Want all courses?
See Pro plan →Your instructor

Founder and CEO, Open Empower. About the author
More in AI Homelab on a Mac mini
All courses in this trackTurn a Mac mini into a reproducible homelab server
You will turn an Apple Silicon Mac mini into an always-on home server. You start by planning hardware choices and initializing a Git repository to track your setup steps. This foundation ensures your configuration is documented and ready for automation. You then configure remote access using SSH and Tailscale for secure connectivity. You also adjust power settings to keep the machine running continuously without interruption. Next, you use Homebrew with a Brewfile to manage software packages consistently. You create a Makefile that journals every command and output for full reproducibility. Finally, you add a read-only health check to verify system status. You learn to rebuild the entire setup on a clean machine from your repository.
Beginner · 4 lessons · 15 min · Updated Nov 2026
Preview free lesson
Kubernetes on your Mac
You will build a multi-node Kubernetes cluster on your Apple Silicon Mac using kind. You start by creating a single-node cluster and then expand it to three nodes using a configuration file. You install applications with Helm and reach them from your Mac using ingress or Gateway. You also manage persistent storage and resource limits for your pods. You finish by tearing down and rebuilding the entire environment in minutes. You use a Makefile to automate the setup and cleanup process. This ensures your cluster is reproducible and easy to manage. You gain hands-on experience with a real cluster that runs entirely on your laptop.
Beginner · 6 lessons · 23 min · Updated Nov 2026
Preview free lesson
Local AI on Apple Silicon (Ollama)
You will install Ollama on your Apple Silicon Mac and run models locally. You learn how to choose models that fit your memory and configure the server for security. You create a custom model using a Modelfile with specific system prompts. You also set up the service to run in the background on your GPU. You connect to these models from Python using the OpenAI SDK. You build a small agent loop that allows models to call external tools. You access the local server from containers without exposing it to the network. You use the same code patterns you already know for cloud APIs.
Beginner · 8 lessons · 27 min · Updated Nov 2026
Preview free lesson