SlideShare a Scribd company logo
Linux virtual machines for running containers
(typically on macOS)
● Automatic host filesystem sharing
● Automatic port forwarding
● Built-in integration for containerd
(and Docker, Podman, Kubernetes, Apptainer, ...)
1
https://lima-vm.io/
$ brew install lima
$ limactl start
$ lima nerdctl run -p 80:80 nginx
How it works
2
● Hypervisor
Virtualization.framework (default) or QEMU
● Intel-on-ARM binary executor
Rosetta 2 (Virtualization.framework) or QEMU-user
● Filesystem sharing
virtiofs (Virtualization.framework), virtio-9p (QEMU), or reverse-sshfs
How it works
3
● Network
○ user mode networking (default)
○ socket_vmnet (for direct access to the IP, etc. with sudo)
● Port forwarding
Implemented by watching /proc/net/tcp, iptables, and
Kubernetes services
Built-in templates
4
● Distros
almalinux, alpine, archlinux, centos-stream, debian,
opensuse, oraclelinux, rocky, ubuntu, ...
● Container engines
apptainer, docker, docker-rootful, podman, podman-rootful,
...
● Container orchestration
faasd, k3s, k8s, nomad
$ limactl start --name=default template://docker
v1.0 (November 2024)
5
● Changed the default VM driver on macOS:
QEMU → Virtualization.framework
● Support nested virtualization on Apple M3
● Support UDP port forwarding
● Added `limactl tunnel`: let the host join the guest network (via SOCKS)
● Bumped up containerd and nerdctl to v2
Future ideas
6
● Virtio-GPU Venus
● Menu-based text user interface
● UX improvement for composing multiple VMs
● Plugin system for supporting other VM drivers
Third party FLOSS projects based on Lima
7
Lima-GUI https://github.com/afbjorklund/lima-gui
Colima https://github.com/abiosoft/colima
Rancher Desktop https://rancherdesktop.io/
Finch https://github.com/runfinch/finch
Join the community!
8
● GitHub: https://github.com/lima-vm/lima/
● Slack: https://slack.cncf.io/ (Channel: #lima)

More Related Content

PDF
20250402 [KubeCon EU Pavilion] Lima.pdf_
Akihiro Suda
 
PDF
20240321 [KubeCon EU Pavilion] Lima.pdf_
Akihiro Suda
 
PDF
[KubeConNA2023] Lima pavilion
Akihiro Suda
 
PDF
[KubeConEU2023] Lima pavilion
Akihiro Suda
 
PDF
Look Into Libvirt Osier Yang
OpenCity Community
 
PDF
Linux advanced concepts - Part 2
NAILBITER
 
PDF
Linux container & docker
ejlp12
 
PDF
Security of Linux containers in the cloud
Dobrica Pavlinušić
 
20250402 [KubeCon EU Pavilion] Lima.pdf_
Akihiro Suda
 
20240321 [KubeCon EU Pavilion] Lima.pdf_
Akihiro Suda
 
[KubeConNA2023] Lima pavilion
Akihiro Suda
 
[KubeConEU2023] Lima pavilion
Akihiro Suda
 
Look Into Libvirt Osier Yang
OpenCity Community
 
Linux advanced concepts - Part 2
NAILBITER
 
Linux container & docker
ejlp12
 
Security of Linux containers in the cloud
Dobrica Pavlinušić
 

Similar to 20241115 [KubeCon NA Pavilion] Lima.pdf_ (20)

PDF
OpenVZ Linux Containers
Kirill Kolyshkin
 
PDF
Linux sever building
Edmond Yu
 
PDF
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Docker, Inc.
 
PDF
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
dotCloud
 
PDF
"Lightweight Virtualization with Linux Containers and Docker". Jerome Petazzo...
Yandex
 
ODP
Proxmox Talk - Linux Fest Northwest 2018
Richard Clark
 
PDF
Linux Containers & Docker
Jumping Bean
 
PDF
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebula Project
 
PDF
LXC, Docker, and the future of software delivery | LinuxCon 2013
dotCloud
 
PDF
LXC Docker and the Future of Software Delivery
Docker, Inc.
 
PDF
Rmll Virtualization As Is Tool 20090707 V1.0
guest72e8c1
 
PDF
RMLL / LSM 2009
Franck_Villaume
 
PDF
Containerization is more than the new Virtualization: enabling separation of ...
Jérôme Petazzoni
 
PDF
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
TheFamily
 
PDF
Introduction to Docker, December 2014 "Tour de France" Edition
Jérôme Petazzoni
 
PDF
Storage-Performance-Tuning-for-FAST-Virtual-Machines_Fam-Zheng.pdf
aaajjj4
 
PDF
MIPS-X
Zoltan Balazs
 
PDF
Automate drupal deployments with linux containers, docker and vagrant
Ricardo Amaro
 
PDF
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
Jérôme Petazzoni
 
ODP
Ansible & Vagrant
Mukul Malhotra
 
OpenVZ Linux Containers
Kirill Kolyshkin
 
Linux sever building
Edmond Yu
 
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Docker, Inc.
 
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
dotCloud
 
"Lightweight Virtualization with Linux Containers and Docker". Jerome Petazzo...
Yandex
 
Proxmox Talk - Linux Fest Northwest 2018
Richard Clark
 
Linux Containers & Docker
Jumping Bean
 
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebula Project
 
LXC, Docker, and the future of software delivery | LinuxCon 2013
dotCloud
 
LXC Docker and the Future of Software Delivery
Docker, Inc.
 
Rmll Virtualization As Is Tool 20090707 V1.0
guest72e8c1
 
RMLL / LSM 2009
Franck_Villaume
 
Containerization is more than the new Virtualization: enabling separation of ...
Jérôme Petazzoni
 
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
TheFamily
 
Introduction to Docker, December 2014 "Tour de France" Edition
Jérôme Petazzoni
 
Storage-Performance-Tuning-for-FAST-Virtual-Machines_Fam-Zheng.pdf
aaajjj4
 
Automate drupal deployments with linux containers, docker and vagrant
Ricardo Amaro
 
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
Jérôme Petazzoni
 
Ansible & Vagrant
Mukul Malhotra
 
Ad

More from Akihiro Suda (20)

PDF
20250617 [KubeCon JP 2025] containerd - Project Update and Deep Dive.pdf
Akihiro Suda
 
PDF
20250616 [KubeCon JP 2025] VexLLM - Silence Negligible CVE Alerts Using LLM.pdf
Akihiro Suda
 
PDF
20250403 [KubeCon EU] containerd - Project Update and Deep Dive.pdf
Akihiro Suda
 
PDF
20250403 [KubeCon EU Pavilion] containerd.pdf
Akihiro Suda
 
PDF
20241113 [KubeCon NA Pavilion] containerd.pdf
Akihiro Suda
 
PDF
【情報科学若手の会 (2024/09/14】なぜオープンソースソフトウェアにコントリビュートすべきなのか
Akihiro Suda
 
PDF
【Vuls祭り#10 (2024/08/20)】 VexLLM: LLMを用いたVEX自動生成ツール
Akihiro Suda
 
PDF
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
Akihiro Suda
 
PDF
20240320 [KubeCon EU Pavilion] containerd.pdf
Akihiro Suda
 
PDF
20240201 [HPC Containers] Rootless Containers.pdf
Akihiro Suda
 
PDF
[Podman Special Event] Kubernetes in Rootless Podman
Akihiro Suda
 
PDF
[KubeConNA2023] containerd pavilion
Akihiro Suda
 
PDF
[DockerConハイライト] OpenPubKeyによるイメージの署名と検証.pdf
Akihiro Suda
 
PDF
[CNCF TAG-Runtime] Usernetes Gen2
Akihiro Suda
 
PDF
[DockerCon 2023] Reproducible builds with BuildKit for software supply chain ...
Akihiro Suda
 
PDF
The internals and the latest trends of container runtimes
Akihiro Suda
 
PDF
[KubeConEU2023] containerd pavilion
Akihiro Suda
 
PDF
[Container Plumbing Days 2023] Why was nerdctl made?
Akihiro Suda
 
PDF
[FOSDEM2023] Bit-for-bit reproducible builds with Dockerfile
Akihiro Suda
 
PDF
[CNCF TAG-Runtime 2022-10-06] Lima
Akihiro Suda
 
20250617 [KubeCon JP 2025] containerd - Project Update and Deep Dive.pdf
Akihiro Suda
 
20250616 [KubeCon JP 2025] VexLLM - Silence Negligible CVE Alerts Using LLM.pdf
Akihiro Suda
 
20250403 [KubeCon EU] containerd - Project Update and Deep Dive.pdf
Akihiro Suda
 
20250403 [KubeCon EU Pavilion] containerd.pdf
Akihiro Suda
 
20241113 [KubeCon NA Pavilion] containerd.pdf
Akihiro Suda
 
【情報科学若手の会 (2024/09/14】なぜオープンソースソフトウェアにコントリビュートすべきなのか
Akihiro Suda
 
【Vuls祭り#10 (2024/08/20)】 VexLLM: LLMを用いたVEX自動生成ツール
Akihiro Suda
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
Akihiro Suda
 
20240320 [KubeCon EU Pavilion] containerd.pdf
Akihiro Suda
 
20240201 [HPC Containers] Rootless Containers.pdf
Akihiro Suda
 
[Podman Special Event] Kubernetes in Rootless Podman
Akihiro Suda
 
[KubeConNA2023] containerd pavilion
Akihiro Suda
 
[DockerConハイライト] OpenPubKeyによるイメージの署名と検証.pdf
Akihiro Suda
 
[CNCF TAG-Runtime] Usernetes Gen2
Akihiro Suda
 
[DockerCon 2023] Reproducible builds with BuildKit for software supply chain ...
Akihiro Suda
 
The internals and the latest trends of container runtimes
Akihiro Suda
 
[KubeConEU2023] containerd pavilion
Akihiro Suda
 
[Container Plumbing Days 2023] Why was nerdctl made?
Akihiro Suda
 
[FOSDEM2023] Bit-for-bit reproducible builds with Dockerfile
Akihiro Suda
 
[CNCF TAG-Runtime 2022-10-06] Lima
Akihiro Suda
 
Ad

Recently uploaded (20)

PPTX
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
PPT
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
PDF
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
PDF
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
PPTX
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
PPTX
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
PPTX
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
PDF
Generating Union types w/ Static Analysis
K. Matthew Dupree
 
PDF
Exploring AI Agents in Process Industries
amoreira6
 
PDF
Bandai Playdia The Book - David Glotz
BluePanther6
 
PDF
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
PDF
Jenkins: An open-source automation server powering CI/CD Automation
SaikatBasu37
 
PPTX
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
PDF
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
advancepresentationskillshdhdhhdhdhdhhfhf
jasmenrojas249
 
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
Generating Union types w/ Static Analysis
K. Matthew Dupree
 
Exploring AI Agents in Process Industries
amoreira6
 
Bandai Playdia The Book - David Glotz
BluePanther6
 
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
Jenkins: An open-source automation server powering CI/CD Automation
SaikatBasu37
 
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 

20241115 [KubeCon NA Pavilion] Lima.pdf_

  • 1. Linux virtual machines for running containers (typically on macOS) ● Automatic host filesystem sharing ● Automatic port forwarding ● Built-in integration for containerd (and Docker, Podman, Kubernetes, Apptainer, ...) 1 https://lima-vm.io/ $ brew install lima $ limactl start $ lima nerdctl run -p 80:80 nginx
  • 2. How it works 2 ● Hypervisor Virtualization.framework (default) or QEMU ● Intel-on-ARM binary executor Rosetta 2 (Virtualization.framework) or QEMU-user ● Filesystem sharing virtiofs (Virtualization.framework), virtio-9p (QEMU), or reverse-sshfs
  • 3. How it works 3 ● Network ○ user mode networking (default) ○ socket_vmnet (for direct access to the IP, etc. with sudo) ● Port forwarding Implemented by watching /proc/net/tcp, iptables, and Kubernetes services
  • 4. Built-in templates 4 ● Distros almalinux, alpine, archlinux, centos-stream, debian, opensuse, oraclelinux, rocky, ubuntu, ... ● Container engines apptainer, docker, docker-rootful, podman, podman-rootful, ... ● Container orchestration faasd, k3s, k8s, nomad $ limactl start --name=default template://docker
  • 5. v1.0 (November 2024) 5 ● Changed the default VM driver on macOS: QEMU → Virtualization.framework ● Support nested virtualization on Apple M3 ● Support UDP port forwarding ● Added `limactl tunnel`: let the host join the guest network (via SOCKS) ● Bumped up containerd and nerdctl to v2
  • 6. Future ideas 6 ● Virtio-GPU Venus ● Menu-based text user interface ● UX improvement for composing multiple VMs ● Plugin system for supporting other VM drivers
  • 7. Third party FLOSS projects based on Lima 7 Lima-GUI https://github.com/afbjorklund/lima-gui Colima https://github.com/abiosoft/colima Rancher Desktop https://rancherdesktop.io/ Finch https://github.com/runfinch/finch
  • 8. Join the community! 8 ● GitHub: https://github.com/lima-vm/lima/ ● Slack: https://slack.cncf.io/ (Channel: #lima)