Technology · Ebook
Lima: Linux Machines on Your Mac
by Shriira Press
Lima (Linux Machines) launches Linux virtual machines on macOS and Linux with automatic file sharing and port forwarding — making it effortless to get an integrated Linux environment, especially for running containers. This free book teaches it from the ground up: the Linux-on-your-laptop problem and what Lima is, Linux VMs on the desktop (the container-on-Mac story), how Lima works (the architecture, virtualization, integration), getting started, configuration (YAML, images, resources, provisioning), file sharing and port forwarding, running containers (containerd/nerdctl, Docker, the Docker Desktop alternative), managing VMs (the limactl CLI, lifecycle, multiple VMs), the ecosystem (Colima, Rancher Desktop built on Lima), and using Lima in practice. Ten focused chapters with clear diagrams that demystify running Linux and containers on your Mac — an effortless, integrated, open-source Linux-VM engine and the foundation of the open-source container-on-Mac ecosystem.
Contents
- 1Preface
- 2Chapter 1 — What Lima Is
- 3Chapter 2 — Linux VMs on the Desktop
- 4Chapter 3 — How Lima Works
- 5Chapter 4 — Getting Started
- 6Chapter 5 — Configuration
- 7Chapter 6 — File Sharing and Port Forwarding
- 8Chapter 7 — Running Containers
- 9Chapter 8 — Managing VMs
- 10Chapter 9 — The Ecosystem: Tools Built on Lima
- 11Chapter 10 — Using Lima in Practice
