Lima
詳細情報
タイトル | Lima |
---|---|
URL | https://lima-vm.io/ |
バージョン | ver 1.0.1 |
更新日 | 2024/11/08 |
追加日 | 2023/09/28 |
種別 | フリーソフト |
説明 | 自動ファイル共有とポート転送(WSL2に類似)を備えたLinux仮想マシンを起動。 |
レビュー
当初の目的は、Macユーザーにnerdctlを含むcontainerdを広めることだったが、コンテナ以外のアプリケーションにも使用できる。
他のコンテナ・エンジン)Docker、Podman、Kubernetesなど)やMacOS以外のホスト(Linux、NetBSDなど)もサポートしている。
スクリーンショット
更新グラフ
バージョン履歴
Reverted the default port forwarder from gRPC to SSH for the stability reason (#2864).
This reversion fixes several regressions related to docker run -p
in Lima v1.0.0 (#2859).
Although the gRPC forwarder is faster and has an advanced feature (UDP support), it turned out to be still immature.
Set LIMA_SSH_PORT_FORWARDER=false
to opt-in to the gRPC forwarder.
See https://lima-vm.io/docs/config/port/.
Full changes: https://github.com/lima-vm/lima/milestone/50?closed=1
Thanks to @alexandear @jandubois @norio-nomura
Usage
[macOS]$ limactl create [macOS]$ limactl start ... INFO[0029] READY. Run `lima` to open the shell. [macOS]$ lima
With the support from 110+ contributors in 3+ years, the Lima project has finally reached v1.0. 🎉
This release introduces several breaking changes, such as switching the default machine driver from QEMU to VZ for better filesystem performance.
The limactl
CLI is designed to print hints when the user hits those breaking changes.
e.g., limactl create template://experimental/vz
now fails with a hint that suggests using limactl create --vm-type=vz template://default
instead.
🔴 = Major breaking changes
🟡 = Minor breaking changes
-
VZ:
- Graduate VZ machine driver from experimental (#2758)
- 🔴 Use VZ by default for new instances on macOS >= 13.5 (#1951)
- Support nested virtualization on M3 (#2530, thanks to @abiosoft
With the support from 110+ contributors in 3+ years, the Lima project has finally reached v1.0 (Pre-release). 🎉
This release introduces several breaking changes, such as switching the default machine driver from QEMU to VZ for better filesystem performance.
The limactl
CLI is designed to print hints when the user hits those breaking changes.
e.g., limactl create template://experimental/vz
now fails with a hint that suggests using limactl create --vm-type=vz template://default
instead.
🔴 = Major breaking changes
🟡 = Minor breaking changes
-
VZ:
- Graduate VZ machine driver from experimental (#2758)
- 🔴 Use VZ by default for
Changes
- vz:
- Use VZ by default for new instances on macOS >= 13.5 (#1951)
Full changes: https://github.com/lima-vm/lima/milestone/47?closed=1
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/10628063124
The sha256sum of the SHA256SUMS file itself is 69bbfccf7e046e03edd5d3facd8
Changes
-
Network:
- Fixed a stability issue (#2556, #2561)
-
Templates:
- Updated to the latest revisions (#2556)
Full changes: https://github.com/lima-vm/lima/milestone/49?closed=1
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/10610584784
The sha256sum of the SHA256SUMS file itself is 9183a5703205d331d89f4a62abdbbb377cb77f1f49f
Changes
- Fixed the CI to generate the release note (#2555)
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/10441930092
The sha256sum of the SHA256SUMS file itself is e93a48f3a011c25367da50ab3609bb28437fcde259371f005f8b234caa46efff
.
Release manager: @AkihiroSuda
This release drops the support for vde_vmnet
(deprecated since 2022) in favor of socket_vmnet
.
vmnet users will need to regenerate the /etc/sudoers.d/lima
file:
limactl sudoers >etc_sudoers.d_lima
sudo install -o root etc_sudoers.d_lima /etc/sudoers.d/lima
Users may also want to clean up the vde-related lines from their ~/.lima/_config/networks.yaml
:
--- /Users/user/.lima/_config/networks.yaml.bak 2024-05-07 14:17:28 +++ /Users/user/.lima/_config/networks.yaml 2024-05-07 14:18:09 @@ -13,9 +13,6 @@ # socketVMNet requires Lima >= 0.12 . # socketVMNet has precedence over vdeVMNet. socketVMNet: "/opt/socket_vmnet/bin/socket_vmnet" -# vdeSwitch and vdeVMNet are DEPRECATED.
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