Linux virtual machines, with a focus on running containers
This release adds the support for limactl start-at-login
and inotify.
limactl
CLI:
limactl start-at-login INSTANCE
command (#2151, thanks to @roman-kiselenko)Mounts:
limactl start --mount-inotify
(#1913, thanks to @balajiv113)YAML:
{{.Name}}
in provision scripts (#2179)nerdctl:
Templates:
Full changes: https://github.com/lima-vm/lima/milestone/43?closed=1 Thanks to @afbjorklund @alexandear @balajiv113 @blmhemu @jandubois @norio-nomura @pendo324 @roman-kiselenko @terev
[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/8307250970
The sha256sum of the SHA256SUMS file itself is 3a4fc483678ef5aea033a9d19b5e4db1ddc480f54d1a12afb257f255d72b5395
.
limactl
CLI:
limactl start-at-login INSTANCE
command (#2151, thanks to @roman-kiselenko)Mounts:
limactl start --mount-inotify
(#1913, thanks to @balajiv113)YAML:
{{.Name}}
in provision scripts (#2179)Templates:
Full changes: https://github.com/lima-vm/lima/milestone/43?closed=1 Thanks to @afbjorklund @alexandear @balajiv113 @blmhemu @jandubois @norio-nomura @pendo324 @roman-kiselenko
[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/8245128886
The sha256sum of the SHA256SUMS file itself is a7d9e816923b4c027393d7eb37084288e8808807937a9d38fd13bea2e4367cf7
.
alpine: avoid wiping out writable host mounts under /home, etc
(https://github.com/lima-vm/lima/pull/2244, thanks to @jandubois)Prior to Lima v0.20.2, a host directory could be wiped out when all the following conditions are met:
[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/8244166862
The sha256sum of the SHA256SUMS file itself is 1aa58b5567fb1e2ca60500ed0e8b7fefbdf930d74214b3858add6b20f5dbdec3
.
limactl
CLI:
limactl --help
(#2167, thanks to @ayushgml)QEMU:
nerdctl:
Templates:
Full changes: https://github.com/lima-vm/lima/milestone/42?closed=1 Thanks to @alexandear @ayushgml @jandubois @vasileknik76
[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/7734320742
The sha256sum of the SHA256SUMS file itself is 0714cba526d924e243865f5b3a6293e5d054af04fccd3642850839b0a15aa58b
.
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).
Misc:
lima-version
file in the instance directory (#2107, thanks to @jandubois)limactl
CLI:
limactl start --foreground
for better support of launchd (#2146, thanks to @norio-nomura)YAML:
upgradePackages: <bool>
to upgrade the packages on boot (#2119, thanks to @afbjorklund)QEMU:
WSL2:
Templates:
alpine
: Update Alpine to 3.19 (#2136, thanks to @jandubois)rke2
: Update RKE2 to 1.29 (#2157)u7s
: Update Usernetes to gen2-v20231218.0 (#2157)k8s
: stop using sudo kubectl
for KUBECONFIG
(#2102, thanks to @afbjorklund)Full changes: https://github.com/lima-vm/lima/milestone/41?closed=1 Thanks to @DennisRasey @afbjorklund @alexandear @jandubois @mhumeSF @norio-nomura @pendo324 @porfirion @stefanb @zhaojizhuang
[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/7582028915
The sha256sum of the SHA256SUMS file itself is 09361987b9794963cfc4e6290842de8fbeafb8f075138178b0a7c42d85839b25
.
This release adds the support for QEMU v8.2.0 (ETA: Dec 19) and Apple M3.
QEMU:
edk2-aarch64-code.fd
(#2061, #2084).
As a side-effect, this is expected to fix an incompatibility with Apple M3 as well (#1996).lima-guestagent:
Boot scripts:
nerdctl:
Templates:
Full changes: https://github.com/lima-vm/lima/milestone/40?closed=1 Thanks to @alexandear @jandubois @mhio
[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/7249793232
The sha256sum of the SHA256SUMS file itself is 89a52004f9b9abe9bf5a4f618e3383a05619c279a337945603285c52ac04948b
.
This release fixes the disk image corruption issue with --vm-type=vz
on ARM Mac (#2026)
limactl
CLI:
limactl disk resize
command (#2034, thanks to @vasileknik76)VZ:
QEMU:
Hostagent (affects port forwarding, reverse sshfs, etc.)
Guestagent:
Misc:
nerdctl:
Templates:
template://experimental/gentoo
(#1935, thanks to @afbjorklund)Full changes: https://github.com/lima-vm/lima/milestone/39?closed=1 Thanks to @ZhongRuoyu @afbjorklund @alexandear @balajiv113 @choznerol @cwegener @hasan4791 @jandubois @neowu @takanohi @tcooper @terev @vasileknik76 @yuvipanda
[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/7055847610
The sha256sum of the SHA256SUMS file itself is 91cc6cfbae984339c1cd15ab861fd7c8054490ed7bb1d6622513d23e3a7cb454
.
Highlights:
wsl2
driver (experimental)limactl create --plain
to create "plain" instances (no mounts, port forwarding, containerd, etc.)limactl
CLI:
--set
, --network
, and --video
out of experimental (#1852)--tty
to be a global flag (#1864)limactl protect <INSTANCE>
to prohibit accidental removal (#1873)limactl show-ssh
in favor of ssh -F ...
(#1811)YAML:
WSL2:
wsl2
driver (#1721, #1883, etc. Thanks to @pendo324)user-v2 network:
nerdctl:
Templates:
template://experimental/vnc
with Xorg (#1901, thanks to @afbjorklund)Makefile:
make menuconfig
(#1790, thanks to @afbjorklund)Web site:
Full changes: https://github.com/lima-vm/lima/milestone/38?closed=1
Thanks to @AlexVCS @Victor-Chris @afbjorklund @balajiv113 @cdfmlr @jandubois @lobshunter @mairin @ningziwen @pendo324 @pszpetkowski @reishoku
[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/6505177944
The sha256sum of the SHA256SUMS file itself is 17404ec5525140772889134715239de966cd507b7d96a733f49bca40ee54e4ce
.
v0.18.0-beta.0
(Changes to be documented)
[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 not needed on users' side. However, the Homebrew bottle of QEMU v8.0.4 needs this signing due to a temporary issue of Homebrew's build infrastructure:
The Homebrew bottle of QEMU v8.0.3 is not affected by this issue.
QEMU:
Full changes: https://github.com/lima-vm/lima/milestone/37?closed=1 Thanks to @afbjorklund
[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/5851291166
The sha256sum of the SHA256SUMS file itself is 006f022e19d2b03869c33ee30be694217937d8c774af7b9714e2d7659da31aa5
.