模板
运行 limactl start template://fedora 创建一个名为 "fedora" 的 Lima 实例。
要打开 shell,请运行 limactl shell fedora bash 或 LIMA_INSTANCE=fedora lima bash。
⭐ = "Tier 1"
☆ = "Tier 2"
默认:default (⭐Ubuntu, 带 containerd/nerdctl)
发行版:
almalinux-8: AlmaLinux 8almalinux-9: AlmaLinux 9almalinux-10,almalinux.yaml: AlmaLinux 10almalinux-kitten-10,almalinux-kitten.yaml: AlmaLinux Kitten 10alpine: ☆Alpine Linuxalpine-iso: ☆Alpine Linux (ISO9660 镜像)。与 Lima v1.0 之前使用的alpine模板兼容。archlinux: ☆Arch Linuxcentos-stream-9,centos-stream.yaml: CentOS Stream 9centos-stream-10: CentOS Stream 10debian-12: Debian GNU/Linux 12(bookworm)debian-13,debian.yaml: ⭐Debian GNU/Linux 13(trixie)fedora-41: Fedora 41fedora-42,fedora.yaml: ⭐Fedora 42opensuse-leap,opensuse.yaml: ⭐openSUSE Leaporaclelinux-8: Oracle Linux 8oraclelinux-9,oraclelinux.yaml: Oracle Linux 9rocky-8: Rocky Linux 8rocky-9: Rocky Linux 9rocky-10,rocky.yaml: Rocky Linux 10ubuntu: Ubuntu (与default.yaml相同但没有额外的 YAML 行)ubuntu-lts: Ubuntu LTS (与ubuntu.yaml相同但固定为 LTS 版本)experimental/ubuntu-next: Ubuntu vNextexperimental/gentoo: [experimental] Gentooexperimental/opensuse-tumbleweed: [experimental] openSUSE Tumbleweedexperimental/debian-sid: [experimental] Debian Sidexperimental/debian-13,experimental/debian-testing: [experimental] Debian GNU/Linux 13 (Trixie)
替代包管理器:
linuxbrew.yaml: Homebrew on Linux (Ubuntu)
容器引擎:
apptainer: Apptainerapptainer-rootful: Apptainer (rootful)docker: ⭐Dockerdocker-rootful: Docker (rootful)podman: Podmanpodman-rootful: Podman (rootful)- LXD 安装在默认的 Ubuntu 模板中,所以没有
lxd.yaml
容器镜像构建器:
buildkit: BuildKit
容器编排:
faasd: Faasdk0s: k0s Zero Friction Kubernetesk3s: 通过 k3s 的 Kubernetesk8s: 通过 kubeadm 的 Kubernetesexperimental/u7s: Usernetes: Rootless Kubernetes
可选功能启用器:
experimental/vnc: [experimental] 使用 vnc 显示和 xorg 服务器experimental/alsa: [experimental] 使用 alsa 和默认音频设备
失物招领:
: 在 Lima v0.8.0 中移除,因为 CentOS 8 达到了 EOL。 被centosalmalinux,centos-stream,oraclelinux, 和rocky替代。: 在 Lima v0.13.0 中移至singularityapptainer-rootful,因为 Singularity 被重命名为 Apptainer。: 在 Lima v0.13.0 中移至experimental/apptainerapptainer。: 在 Lima v0.13.0 中移至experimental/{almalinux,centos-stream-9,oraclelinux,rocky}-9almalinux-9,centos-stream-9,oraclelinux-9, 和rocky-9。: 在 Lima v0.17.1 中移除,因为 Nomad 不再是自由软件nomad: 在 Lima v0.23.0 中移除,因为 CentOS Stream 8 达到了 EOL。centos-stream-8: 在 Lima v0.23.0 中移除,因为 CentOS 7 达到了 EOL。deprecated/centos-7: 在 Lima v1.0 中合并到默认模板。另请参见 <https://lima-vm.io/docs/config/vmtype/>。experimental/vz: 在 Lima v1.0 中合并到experimental/armv7ldefault模板。使用limactl create --arch=armv7l template://default。: 在 Lima v1.0 中合并到experimental/riscv64default模板。使用limactl create --arch=riscv64 template://default。: 在 Lima v1.0 中移除。使用vmnetlimactl create --network=lima:shared template://default代替。另请参见 <https://lima-vm.io/docs/config/network/>。: 在 Lima v1.0 中移除。使用experimental/net-user-v2limactl create --network=lima:user-v2 template://default代替。另请参见 <https://lima-vm.io/docs/config/network/>。: 在 Lima v1.0 中移除。使用experimental/9plimactl create --vm-type=qemu --mount-type=9p template://default代替。另请参见 <https://lima-vm.io/docs/config/mount/>。: 在 Lima v1.0 中移除。使用experimental/virtiofs-linuxlimactl create --mount-type=virtiofs-linux template://default代替。另请参见 <https://lima-vm.io/docs/config/mount/>。
Tier
- "Tier 1" (标记为 ⭐): 良好的稳定性。在 CI 上定期测试。
- "Tier 2" (标记为 ☆): 中等稳定性。在 CI 上定期测试。
其他模板仅偶尔手动测试。