v2.3.02026-11-06
这次更新的重头戏是跨平台能力:Windows 宿主可实验性改用 HCS 驱动运行虚拟机,摆脱对 QEMU 的依赖,并支持原生 OpenSSH、自动把 QEMU 等常用工具目录加入 PATH;macOS 的 VZ 虚拟机可用 limactl start --block-device 挂载宿主块设备;Linux 宿主新增 lima:shared、lima:host、lima:bridged 三种网络,通过新的
v2.3.0-rc.0预发布2026-10-30
Lima 新版在平台支持上连下三城:Windows 主机实验性支持 HCS 驱动,可以彻底甩掉 QEMU;macOS 主机新增 limactl start --block-device,把宿主块设备直接挂进 VZ 虚拟机;Linux 主机则实验性支持 lima:shared、lima:host、lima:bridged 三种网络模式。命令行新增 limactl menu 交互菜单,在终端直接运行 limactl 即可打开,limactl stop 也支持一次停掉多个实例,启动时会显示 (N/total) 进度。
其他改进同样实用:VZ 新增 audio.microphone 与 networkOpts.hostLoopback;QEMU 借助 HVF 支持嵌套虚拟化,并实现了 limactl screenshot;Unix socket 转发改走 gRPC;YAML 新增 archVariant、自定义 mountPoint 与 copyToHost.skipIfMissing;MCP 加入 replace 文件编辑工具。模板默认 Ubuntu 升至 26.10,k8s 固定到 Kubernetes 1.37,发布物附带 SBOM 与 lima.yaml 的 JSON schema。
v2.3.0-beta.1预发布2026-10-03
Highlights:
- 🪟Experimentally support HCS driver on Windows hosts
- 🍎Attach host block devices to VZ guests
- 🐧lima-privileged-net helper for Linux hosts (WIP)
Changes
- Windows host support:
- Experimentally support HCS driver (#5449 #5514, thanks to LFX mentee @mie313, and @unsuman)
- Support native Windows OpenSSH (#5298 #5299 #5300 #5337, thanks to @jandubois)
- Automatically append common tool directories (e.g., QEMU) to PATH (#5348, thanks to LFX mentee @mie313)
- Windows guest support:
- Support provision (#5263, thanks to LFX mentee @mie313)
- macOS guest support:
- Add osOpts.darwin.suppressFirstLoginSetup to skip the first-login Setup Assistant (#5336, thanks to @trodemaster)
- VZ:
- Support attaching host block devices (limactl start --block-device) (#5117, thanks to @pirate)
- Add audio.microphone to attach a capture stream (#5462, thanks to @iamstarkov)
- QEMU:
- Support nestedVirtualization with HVF (QEMU >= 11.1) (#5443, thanks to @sharanrajt)
- Implement limactl screenshot (#5478, thanks to @afbjorklund)
- Networking:
- Add the lima-privileged-net helper for Linux hosts (WIP) (#5483 #5484, thanks to @unsuman)
- YAML:
- Add archVariant (--arch-variant) for selecting x86-64-v2/v3 images (#5335, thanks to @ekalinin)
- additionalDisks: support custom mountPoint and optional mounting (#5198, thanks to @ekalinin)
- copyToHost: add skipIfMissing (#5183, thanks to @afbjorklund)
- limactl CLI:
- Support stopping multiple instances with limactl stop (#5369, thanks to @MEETNANDA8107)
- limactl autostart enable: add --keep-alive (#5086, thanks to @resker)
- Templates:
- k8s: add a parameter for apt-proxy (#5251, thanks to @afbjorklund)
- k8s: allow installing on the minimal image variant (#5385, thanks to @afbjorklund)
- k8s: pin Kubernetes version to 1.37 (#5463, thanks to @afbjorklund)
- k3s: add parameters for apt-proxy and registry (#5251, #5257 #5377, thanks to @afbjorklund)
- Release artifacts:
- Add SBOM artifacts (#5220, thanks to @afbjorklund)
- Add the JSON schema of lima.yaml (#5339 #5380, thanks to @afbjorklund)
Full changes: https://github.com/lima-vm/lima/milestone/74?closed=1
Thanks to @MEETNANDA8107 @Nashit-h @PhysicistJohn @SABITHSAHEB @Sarthak-Shreshtha01 @afbjorklund @aka-rider @alexandear @arixmkii @chrisanderton @ekalinin @iamstarkov @jandubois @kolyshkin @mie313 @mvanhorn @pirate @ravi-arnan @resker @sharanrajt @somaz94 @trodemaster @unsuman
Usage
``console
$ limactl create
$ limactl start
...
INFO[0029] READY. Run lima to open the shell.
$ lima uname
Linux
`
- - -
The binaries were built automatically on GitHub Actions.
The build log is available for 90 days: https://github.com/lima-vm/lima/actions/runs/37125578567
The Software Bill of Materials (SBOM) is in the *.sbom.tar.gz artifact.
It does not cover software that is downloaded during Lima operation, such as nerdctl-full*.tar.gz or the cloud images.
The sha256sum of the SHA256SUMS file itself is 1d26eb8b749ccc0295fa377f16d154042e4b2129ef8228a7798ac1e4b87cee94` .
- - -
Release manager: @AkihiroSuda
v2.2.12026-10-03
Lima 本次更新主要从 master 分支回合了一批修复到 release/2.2 分支,外加依赖升级。日常使用中比较直接受益的有:rsync 选项解析在遇到复制路径后即停止,避免参数误吞;Debian 上禁用 LLMNR,解决了 SSH 登录卡顿;copy -r 到已存在目录时各后端行为现已一致。端口转发也修了几处——重复转发不会再误关存活的 UDP 监听器,半关闭状态能正确从主机侧中继,且转发会使用当前 guest agent 连接而非监听时捕获的旧连接。安全方面,qemuimgutil 会拒绝带外部数据文件引用的 qcow2,PID 文件不再信任上次启动遗留的内容,guest agent 上报非法 IP 的事件会被丢弃,cloud-init 日志中的控制字符也会被清除。HVF 下 QEMU ≥ 11.0 已禁用 TPM PPI。模板新增 macOS 27(Golden Gate),nerdctl 升至 v2.4.1,gRPC、x/crypto 等依赖同步更新,最低 Go 版本提高到 1.26。
v2.3.0-beta.0预发布2026-09-01
Lima 为 Windows 宿主机新增对 HCS 驱动的实验性支持(#5449),使用 Hyper-V 的开发者无需再依赖第三方虚拟化方案。同时针对 Windows 客户机做了多项改进,整体稳定性与兼容性有所提升。完整变更清单见项目 milestone 页面。
v2.2.02026-07-21
这版把 Windows 客户机带进了实验支持阶段,虚拟机里可以跑 Windows Server 2025 和 Windows 11。Linux 客户机新增选项,允许关闭免密 sudo,把提权收回到需要密码的状态。QEMU 补上了 TPM 模拟,VZ 驱动接入 virtio-sound 声卡接口。命令行新增 limactl screenshot,restart 现在接受 edit 的参数,create/edit/start 支持 --shell 指定登录 shell。Windows 主机的默认虚拟机驱动从 wsl2 换成 qemu,并去掉了对 cygpath.exe 的依赖;macOS 服务器可用 LaunchDaemon 以无界面方式运行。nerdctl 升级到 v2.3.5。模板方面,alpine 支持 --plain,debian、ubuntu 新增镜像变体参数,fedora 支持 RISC-V 64,k8s 模板可指定版本与镜像仓库,almalinux-kitten 移入 experimental。网络上,socket_vmnet 的访问权限从 %everyone 收紧到 %admin 组。
v2.2.0-rc.0预发布2026-07-16
Highlights:
- 🪟Experimentally support Windows server 2025 guests
- 🪟Experimentally support Windows 11 guests
- 🐧Experimentally allow opting out from password-less sudo
Changes
- Windows guest support:
- Experimentally support Windows server 2025 guests (#5138, thanks to LFX mentee @mie313)
- Experimentally support Windows 11 guests (#5164 #5185 #5244, thanks to LFX mentee @mie313)
- Linux guest support:
- Experimentally allow opting out from password-less sudo (#5109 etc., thanks to @Aneesh-Hegde)
- Windows host support:
- Change the default VM driver from wsl2 to qemu (#4788)
- macOS host support:
- Add LaunchDaemon support for headless macOS servers (#4984, thanks to @resker)
- VM driver infrastructure:
- Update API (#4877, thanks to @unsuman)
- QEMU:
- Implement TPM emulation (#5148, thanks to @mie313)
- VZ:
- Implement virtio-sound interface (#5016, thanks to @Aneesh-Hegde)
- limactl CLI:
- Add limactl screenshot (#5098, thanks to @trodemaster)
- Accept limactl edit flags in limactl restart (#5076, thanks to @itsme-ranger)
- Accept --shell flag in limactl (create|edit|start) (#5194, thanks to @unsuman)
- Networking:
- Limit socket_vmnet access from %everyone to the %admin group (#5190, thanks to @ekalinin)
- Templates:
- almalinux-kitten: Move to experimental/ (#4736)
- alpine: Support --plain (#3057)
- debian: Support --image-variant=nocloud (#5159, thanks to @Nachiket-Roy)
- fedora: support RISC-V 64 (#5201)
- ubuntu: Support --image-variant=minimal (#5159, thanks to @Nachiket-Roy)
- k8s: Support version and registry parameters (#4872 #5200, thanks to @afbjorklund)
- experimental/ubuntu-next: point to ubuntu-26.10 (#5214)
Full changes: https://github.com/lima-vm/lima/milestone/70?closed=1
Thanks to @Aneesh-Hegde @Nachiket-Roy @SABITHSAHEB @afbjorklund @arixmkii @bitalizer @ciderale @coulof @ekalinin @gaurav0107 @itsme-ranger @jandubois @kavirakesh14 @loncharles @mie313 @pirate @resker @trodemaster @unsuman
Usage
``console
$ limactl create
$ limactl start
...
INFO[0029] READY. Run lima to open the shell.
$ lima uname
Linux
`
- - -
The binaries were built automatically on GitHub Actions.
The build log is available for 90 days: https://github.com/lima-vm/lima/actions/runs/29470510152
The sha256sum of the SHA256SUMS file itself is 6c4fc48f1b415461272bac7082c8c6564f714638533e9e58b9e9f0846f51376b` .
- - -
Release manager: @AkihiroSuda
v2.1.42026-07-03
Lima 2.1 分支发布了一批从 master 回移的修复:macOS 上 QEMU 无法使用 hvf 加速时会自动回退到 tcg,避免虚拟机直接起不来;创建 ISO 镜像时只在需要的命令上追加 xorrisofs 参数。nerdctl 升级到 v2.3.4,模板同步更新,freebsd-15 模板新增 9p 挂载支持。另外 limactl network list --json 的输出现在会带上网络名称,方便脚本按名取用。
v2.2.0-beta.0预发布2026-07-02
Lima 这版更新不多,但几处都挺实用。访客系统方面,Windows Server 2025 已可实验性运行;QEMU 侧补齐了 TPM 仿真,对需要受信启动环境的场景是个补缺。命令行新增 limactl screenshot,可以直接抓取虚拟机画面,省去再绕道找截图工具。模板方面,almalinux-kitten 被移入 experimental/ 目录,意味着它目前不建议在生产中使用。升级前留意 TPM 与 Windows 支持仍属实验性质,遇到兼容问题欢迎到 issue 里反馈。
v2.1.32026-06-19
这是一次 2.1 分支的维护更新,主要来自 master 的合入:limayaml 在非 Linux 客户机上不再默认开启 containerd.user;auto 模式下 copytool 遇到远程源或目标时回退用 scp;krunkit 默认关闭 ssh.overVsock;Makefile 现在能正确传递额外驱动的构建失败。默认模板镜像由 ubuntu-25.10 换成 ubuntu-26.04,nerdctl 升级到 v2.3.3,其内置的 containerd v2.3.2 修复了 CVE-2026-50195 等多个漏洞。
此外修复了 CVE-2026-53657:QEMU 虚机内的任意用户原本可通过 guest agent socket 提升为 root。已部署的用户建议尽快升级。