# lima **Repository Path**: mirrors/lima ## Basic Information - **Project Name**: lima - **Description**: Lima 是一个 macOS 上的 Linux 虚拟机(其他非正式名称包括有“Linux-on-Mac”、“macOS subsystem for Linux”、“containe - **Primary Language**: Perl - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/lima - **GVP Project**: No ## Statistics - **Stars**: 6 - **Forks**: 2 - **Created**: 2021-09-13 - **Last Updated**: 2025-05-23 ## Categories & Tags **Categories**: containers **Tags**: None ## README [[🌎**Web site**]](https://lima-vm.io/) [[📖**Documentation**]](https://lima-vm.io/docs/) [[👤**Slack (`#lima`)**]](https://slack.cncf.io) Shows a stylized 'Lima' text in bold, modern font # Lima: Linux Machines [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/lima-vm/lima) [![OpenSSF Best Practices](https://www.bestpractices.dev/projects/6505/badge)](https://www.bestpractices.dev/projects/6505) [![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/lima-vm/lima/badge)](https://scorecard.dev/viewer/?uri=github.com/lima-vm/lima) [Lima](https://lima-vm.io/) launches Linux virtual machines with automatic file sharing and port forwarding (similar to WSL2). The original goal of Lima was to promote [containerd](https://containerd.io) including [nerdctl (contaiNERD ctl)](https://github.com/containerd/nerdctl) 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.). ## Getting started Set up (on macOS): ```bash brew install lima limactl start ``` To run Linux commands: ```bash lima sudo apt-get install -y neofetch lima neofetch ``` To run containers with containerd: ```bash lima nerdctl run --rm hello-world ``` To run containers with Docker: ```bash limactl start template://docker export DOCKER_HOST=$(limactl list docker --format 'unix://{{.Dir}}/sock/docker.sock') docker run --rm hello-world ``` To run containers with Kubernetes: ```bash limactl start template://k8s export KUBECONFIG=$(limactl list k8s --format 'unix://{{.Dir}}/copied-from-guest/kubeconfig.yaml') kubectl apply -f ... ``` See for the further information. ## Community ### Adopters Container environments: - [Rancher Desktop](https://rancherdesktop.io/): Kubernetes and container management to the desktop - [Colima](https://github.com/abiosoft/colima): Docker (and Kubernetes) on macOS with minimal setup - [Finch](https://github.com/runfinch/finch): Finch is a command line client for local container development - [Podman Desktop](https://podman-desktop.io/): Podman Desktop GUI has a plug-in for Lima virtual machines GUI: - [Lima xbar plugin](https://github.com/unixorn/lima-xbar-plugin): [xbar](https://xbarapp.com/) plugin to start/stop VMs from the menu bar and see their running status. - [lima-gui](https://github.com/afbjorklund/lima-gui): Qt GUI for Lima ### Communication channels - [GitHub Discussions](https://github.com/lima-vm/lima/discussions) - `#lima` channel in the CNCF Slack - New account: - Login: ### Code of Conduct Lima follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md). - - - **We are a [Cloud Native Computing Foundation](https://cncf.io/) sandbox project.** The Linux Foundation® (TLF) has registered trademarks and uses trademarks. For a list of TLF trademarks, see [Trademark Usage](https://www.linuxfoundation.org/legal/trademark-usage).