Lima: Linux Machines on Your Mac

Shriira Press

Preface

Linux on your Mac with one command. Run Linux VMs and containers effortlessly — with automatic file sharing and port forwarding — using Lima.

Welcome to Lima: Linux Machines on Your Mac.

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.

This title is part of the ShriIra library and is free to read in full, right here — our small contribution to making world-class knowledge easy to reach.

A note on reading it: open the Contents menu at the top of the reader to jump between chapters, use the Aa menu to set a comfortable text size, theme (light, sepia, or night), and single- or two-page layout. Your place is saved automatically, so you can always pick up where you left off.

We hope it serves you well.

— Shriira Press

Contents

  1. Chapter 1 — What Lima Is
  2. Chapter 2 — Linux VMs on the Desktop
  3. Chapter 3 — How Lima Works
  4. Chapter 4 — Getting Started
  5. Chapter 5 — Configuration
  6. Chapter 6 — File Sharing and Port Forwarding
  7. Chapter 7 — Running Containers
  8. Chapter 8 — Managing VMs
  9. Chapter 9 — The Ecosystem: Tools Built on Lima
  10. Chapter 10 — Using Lima in Practice
0%
1/1