JS>> lima>> 返回
项目作者: lima-vm

项目描述 :
Linux virtual machines, on macOS (aka "Linux-on-Mac", "macOS subsystem for Linux", "containerd for Mac", unofficially)
高级语言: Go
项目地址: git://github.com/lima-vm/lima.git
创建时间: 2021-05-14T07:30:56Z
项目社区:https://github.com/lima-vm/lima

开源协议:Apache License 2.0

下载


[🌎Web site]
[📖Documentation]
[👤Slack (#lima)]



Shows a stylized 'Lima' text in bold, modern font

Lima: Linux Machines

OpenSSF Best Practices
OpenSSF Scorecard

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.).

Getting started

Set up (on macOS):

  1. brew install lima
  2. limactl start

To run Linux commands:

  1. lima sudo apt-get install -y neofetch
  2. lima neofetch

To run containers with containerd:

  1. lima nerdctl run --rm hello-world

To run containers with Docker:

  1. limactl start template://docker
  2. export DOCKER_HOST=$(limactl list docker --format 'unix://{{.Dir}}/sock/docker.sock')
  3. docker run --rm hello-world

To run containers with Kubernetes:

  1. limactl start template://k8s
  2. export KUBECONFIG=$(limactl list k8s --format 'unix://{{.Dir}}/copied-from-guest/kubeconfig.yaml')
  3. kubectl apply -f ...

See https://lima-vm.io/docs for the further information.

Community

Adopters

Container environments:

  • Rancher Desktop: Kubernetes and container management to the desktop
  • Colima: Docker (and Kubernetes) on macOS with minimal setup
  • Finch: Finch is a command line client for local container development
  • Podman Desktop: Podman Desktop GUI has a plug-in for Lima virtual machines

GUI:

Communication channels

Code of Conduct

Lima follows the CNCF Code of Conduct.


We are a Cloud Native Computing Foundation sandbox project.




The Linux Foundation® (TLF) has registered trademarks and uses trademarks. For a list of TLF trademarks, see Trademark Usage.