Lima
詳細情報
タイトル | Lima |
---|---|
URL | https://lima-vm.io/ |
バージョン | ver 0.21.0 |
更新日 | 2024/03/16 |
追加日 | 2023/09/28 |
種別 | フリーソフト |
説明 | 自動ファイル共有とポート転送(WSL2に類似)を備えたLinux仮想マシンを起動。 |
レビュー
当初の目的は、Macユーザーにnerdctlを含むcontainerdを広めることだったが、コンテナ以外のアプリケーションにも使用できる。
他のコンテナ・エンジン)Docker、Podman、Kubernetesなど)やMacOS以外のホスト(Linux、NetBSDなど)もサポートしている。
スクリーンショット
更新グラフ
バージョン履歴
This release adds the support for limactl start-at-login
and inotify.
Changes
-
limactl
CLI:- Add
limactl start-at-login INSTANCE
command (#2151, thanks to @roman-kiselenko)
- Add
-
Mounts:
- Support for inotify:
limactl start --mount-inotify
(#1913, thanks to @balajiv113)
- Support for inotify:
-
YAML:
- Allow
{{.Name}}
in provision scripts (#2179)
- Allow
-
nerdctl:
- Update to v1.7.4 → v1.7.5 (#2251)
-
Templates:
- Alpine: demote from Tier 1 to Tier 2 (#2236)
- Update Ubuntu, Arch Linux, CentOS Stream, and Debian to the latest revi
Changes
-
limactl
CLI:- Add
limactl start-at-login INSTANCE
command (#2151, thanks to @roman-kiselenko)
- Add
-
Mounts:
- Support for inotify:
limactl start --mount-inotify
(#1913, thanks to @balajiv113)
- Support for inotify:
-
YAML:
- Allow
{{.Name}}
in provision scripts (#2179)
- Allow
-
Templates:
- Alpine: demote from Tier 1 to Tier 2 (#2236)
Full changes: https://github.com/lima-vm/lima/milestone/43?closed=1
Thanks to @afbjorklund @alexandear
Changes
-
alpine: avoid wiping out writable host mounts under /home, etc
(#2244)
Prior to Lima v0.202, a host directory could be wiped out when all the following conditions are met:
- The directory is mounted to Lima via virtiofs or 9p (reverse-sshfs is not affected)
- The mount is writable
- The mount point in the guest is under one of: /etc /home /root /usr/local /var/lib
- The guest OS is Alpine Linux
Usage
[macOS]$ limactl create [macOS]$ limactl start ... INFO[0029] READY. Run `lima` to open the shell. [macOS]$ lima uname Linux
The binaries were built automatically on GitHub Actions.
The build log is a
Changes
-
limactl
CLI:- Improve readability of
limactl --help
(#2167, thanks to @ayushgml)
- Improve readability of
-
QEMU:
- Unfork EDK2 (#2170). Now QEMU instances running on ARM Mac need QEMU >= 8.2.1 or QEMU < 8.2.0.
-
nerdctl:
- Update from v1.7.2 to v1.7.3 (#2172)
- Contains runc v1.1.2 (fixes CVE-2024-21626) and BuildKit v0.12.5 (CVE-2024-23650, CVE-2024-23651, CVE-2024-23652, CVE-2024-23653)
- Update from v1.7.2 to v1.7.3 (#2172)
-
Templates:
- Update Ubuntu and CentOS Stream to the latest revision (#2172)
Full changes: https://github.com/lima-vm/lima/miles
This release adds the support for propagating the timezone from the host setting.
This release also fixes incompatibility with Go 1.22 (ETA: February 2024).
Changes
-
Misc:
- Set guest timezone from host setting (#2097)
- Support Go 1.22 (#2137)
- Store
lima-version
file in the instance directory (#2107, thanks to @jandubois)
-
limactl
CLI:- Add
limactl start --foreground
for better support of launchd (#2146, thanks to @norio-nomura)
- Add
-
YAML:
- Add
upgradePackages: <bool>
to upgrade the packages on boot (#2119, thanks to @afbjorklund)
- Add
-
QEMU:
This release adds the support for QEMU v8.2.0 (ETA: Dec 19) and Apple M3.
Changes
-
QEMU:
- Support QEMU v8.2.0 by bumping up
edk2-aarch64-code.fd
(#2061, #2084).
As a side-effect, this is expected to fix an incompatibility with Apple M3 as well (#1996).
- Support QEMU v8.2.0 by bumping up
-
lima-guestagent:
- Add logging for Alpine (#2065, thanks to @jandubois)
-
Boot scripts:
- Only terminate user connections when the environment changes (#2048, thanks to @mhio)
-
nerdctl:
- Update from v1.7.1 to v1.7.2 (#2063)
-
Templates:
- Arch Linux: update to 20231215.200192 (#20
This release fixes the disk image corruption issue with --vm-type=vz
on ARM Mac (#2026)
Changes
-
limactl
CLI:- Add
limactl disk resize
command (#2034, thanks to @vasileknik76)
- Add
-
VZ:
- Fix the disk image corruption issue on ARM Mac (#2026, thanks to @wpiekutowski for providing the hint)
-
QEMU:
- Skip checking the qemu binary signature on macOS 11 and older (#1981, thanks to @jandubois)
-
Hostagent (affects port forwarding, reverse sshfs, etc.)
- Increase the limit on the number of the file descriptors (#2015, thanks to @vasileknik76)
Highlights:
-
wsl2
driver (experimental) -
limactl create --plain
to create "plain" instances (no mounts, port forwarding, containerd, etc.) - Significant updates on the website (https://lima-vm.io/)
Changes
-
limactl
CLI:- Move
--set
,--network
, and--video
out of experimental (#1852) - Make
--tty
to be a global flag (#1864) - Add
limactl protect <INSTANCE>
to prohibit accidental removal (#1873) - Deprecate
limactl show-ssh
in favor ofssh -F ...
(#1811)
- Move
-
YAML:
- Add "plain" mode (disables mounts, port forwarding, con
v0.18.0-beta.0
(Changes to be documented)
Usage
[macOS]$ limactl create [macOS]$ limactl start ... INFO[0029] READY. Run `lima` to open the shell. [macOS]$ 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/6450110959
The sha256sum of the SHA256SUMS file itself is 9eff4d6ad78985452c456050b49237ad774be38969b11820b9a04f041aa30e01
.
On macOS hosts, Lima now asks the user to sign the QEMU binary with the com.apple.security.hypervisor
entitlement if the binary is not properly signed:
$ limactl start INFO[0000] Using the existing instance "default" WARN[0000] QEMU binary "/usr/local/bin/qemu-system-x86_64" is not properly signed with the "com.apple.security.hypervisor" entitlement error="failed to run [codesign --verify /usr/local/bin/qemu-system-x86_64]: exit status 1 (out=\"/usr/local/bin/qemu-system-x86_64: invalid signature (code or signature have been modified)\\nIn architecture: x86_64\\n\")" ? Try to sign "/usr/local/bin/qemu-system-x86_64" with the "com.apple.security.hypervisor" entitlement? (Y/n) ...
Choose Y
to sign the binary.
This signing is usually no