Linux virtual machines, with a focus on running containers
Linux virtual machines, with a focus on running containers
[🌎Web site]
[📖Documentation]
[👤Slack (#lima)]
Lima launches Linux virtual machines with automatic file sharing and port forwarding (similar to WSL2).
The original goal of Lima was to promote containerd including nerdctl (contaiNERD ctl) to Mac users, but Lima can be used for non-container applications as well.
Lima also supports other container engines (Docker, Podman, Kubernetes, etc.) and non-macOS hosts (Linux, NetBSD, etc.).
Set up (Homebrew):
brew install lima
limactl startTo run Linux commands:
lima uname -aTo run containers with containerd:
lima nerdctl run --rm hello-worldTo run containers with Docker:
limactl start template:docker
export DOCKER_HOST=$(limactl list docker --format 'unix://{{.Dir}}/sock/docker.sock')
docker run --rm hello-worldTo run containers with Kubernetes:
limactl start template:k8s
export KUBECONFIG=$(limactl list k8s --format 'unix://{{.Dir}}/copied-from-guest/kubeconfig.yaml')
kubectl apply -f ...See https://lima-vm.io/docs/ for the further information.
We welcome contributions! Please see our Contributing Guide for details on:
git commit -sContainer environments:
GUI:
#lima channel in the CNCF SlackFollow us for project updates, release announcements, and community news:
Lima follows the CNCF Code of Conduct.
We are a Cloud Native Computing Foundation incubating project.
The Linux Foundation® (TLF) has registered trademarks and uses trademarks. For a list of TLF trademarks, see Trademark Usage.
kubernetes node join param url wrong in documentation
Current finch image is not fully compatible with WSL `3.0.1`
CI: consider disabling "Check hyperlinks"
gRPC port forwarder wedges half-open: guest agent's gRPC writer exits, requests still reach the guest but no response ever returns
guestSocket forwards die with the SSH ControlMaster and are never re-created (silent on vz)
Rewrite `socket_vmnet` in Go and integrate it to `lima-privileged-net`
store/disk: stale in_use_by lock after host crash prevents instance from restarting
Mounts: make some file names read-only for the guest (e.g. .git)
Guest agent time sync counts host-to-guest RPC latency as clock drift and steps the guest clock backwards under host load
MCP: add a replace tool for targeted edits