Skip to content

Releases: lima-vm/lima

v0.19.1

18 Dec 15:02
v0.19.1
6715bef
Compare
Choose a tag to compare

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).
  • lima-guestagent:

  • Boot scripts:

    • Only terminate user connections when the environment changes (#2048, thanks to @mhio)
  • nerdctl:

  • Templates:

    • Arch Linux: update to 20231215.200192 (#2082)
    • CentOS Stream 8: update to 20231211.0 (#2063)
    • CentOS Stream 9: update to 20231211.0 (#2063)
    • Debian 12: update to 20231210-1591 (#2063)
    • Ubuntu 22.04: update to release-20231211 (#2063)

Full changes: https://github.com/lima-vm/lima/milestone/40?closed=1
Thanks to @alexandear @jandubois @mhio

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/7249793232

The sha256sum of the SHA256SUMS file itself is 89a52004f9b9abe9bf5a4f618e3383a05619c279a337945603285c52ac04948b .

v0.19.0

01 Dec 04:59
v0.19.0
b453ded
Compare
Choose a tag to compare

This release fixes the disk image corruption issue with --vm-type=vz on ARM Mac (#2026)

Changes

  • limactl CLI:

  • VZ:

  • 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)
  • Guestagent:

    • Switch away from SSH to vsock (vz) and virtio serial (qemu) (#1998, thanks to @balajiv113)
  • Misc:

  • nerdctl:

  • Templates:

    • AlmaLinux, Rocky Linux, Oracle Linux: update to 9.3 and 8.9 (#2024, #2027, #2043, thanks to @tcooper)
    • Arch Linux: update to 20231115.191878
    • CentOS Stream 8: update to 20231127.0 (#2043)
    • CentOS Stream 9: update to 20231128.1 (#2043)
    • Debian 11, 12: update to 20231013-1532 (#2027)
    • Fedora: update to 39 (#1997, thanks to @ZhongRuoyu)
    • Ubuntu 22.04: update to release-20231026 (#2027)
    • Add 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

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/7055847610

The sha256sum of the SHA256SUMS file itself is 91cc6cfbae984339c1cd15ab861fd7c8054490ed7bb1d6622513d23e3a7cb454 .

v0.18.0

13 Oct 07:31
v0.18.0
c4986e7
Compare
Choose a tag to compare

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 of ssh -F ... (#1811)
  • YAML:

    • Add "plain" mode (disables mounts, port forwarding, containerd, etc.) (#1840)
  • WSL2:

  • user-v2 network:

  • nerdctl:

  • Templates:

    • Alpine: update to alpine-lima v0.2.32 (#1869)
    • Arch Linux: update to 20231001.182377 (#1911)
    • CentOS Stream 8: update to 20231009.1 (#1911)
    • CentOS Stream 9: update to 20231009.1 (#1911)
    • Debian 11: update to 20231004-1523 (#1911)
    • Debian 12: update to 20231004-1523 (#1911)
    • Ubuntu 22.04: update to release-20231010 (#1911)
    • Ubuntu 23.04: update to 23.10 (#1911)
    • Add template://experimental/vnc with Xorg (#1901, thanks to @afbjorklund)
  • Makefile:

  • 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

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/6505177944

The sha256sum of the SHA256SUMS file itself is 17404ec5525140772889134715239de966cd507b7d96a733f49bca40ee54e4ce .

v0.18.0-beta.0

08 Oct 21:48
v0.18.0-beta.0
4930675
Compare
Choose a tag to compare
v0.18.0-beta.0 Pre-release
Pre-release

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 .

v0.17.2

14 Aug 03:05
v0.17.2
bee0502
Compare
Choose a tag to compare

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.

Changes

QEMU:

  • Ask to sign QEMU binary when the binary is not properly signed (#1743)

Full changes: https://github.com/lima-vm/lima/milestone/37?closed=1
Thanks to @afbjorklund

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/5851291166

The sha256sum of the SHA256SUMS file itself is 006f022e19d2b03869c33ee30be694217937d8c774af7b9714e2d7659da31aa5 .

v0.17.1

12 Aug 22:03
v0.17.1
d41c316
Compare
Choose a tag to compare

This release fixes incompatibility with Go 1.21 (#1729).

Changes

Misc:

  • Support Go 1.21 (#1729)

Apptainer:

  • apptainer.lima: Use APPTAINER_BINDPATH instead of APPTAINER_HOME (#1716, thanks to @afbjorklund)

Templates:

Full changes: https://github.com/lima-vm/lima/milestone/36?closed=1
Thanks to @afbjorklund

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/5843580169

The sha256sum of the SHA256SUMS file itself is eb92c7f2bf0d3ed9787ac5130860900e09573c3ec7568bde151025038186b59e .

v0.17.0

04 Aug 02:18
v0.17.0
f654a0c
Compare
Choose a tag to compare

This release adds the limactl create command.
Now it is discouraged (not deprecated) to use limactl start for creating new instances.

Discouraged form:

limactl start --name=foo template://docker

Recommended form:

limactl create --name=foo template://docker
limactl start foo

The limactl create command also takes several flags like --cpus=1 --memory=2 --vm-type=vz --mount-writable=true for modifying the template.
Some of these flags are similar to the flags of colima start.

Changes

  • limactl CLI:

  • YAML:

    • Adjust the default CPUs and memory size depending on the host capacity (#1603)
    • Allow leaving additional disks unformatted (#1516, thanks to @afbjorklund)
  • VZ:

    • Remove dependency on qemu-img binary for converting qcow2 to raw (#1507)
    • Enable virtiofs by default when vmType == vz (#1613)
    • Support video display (#1597, #1602, thanks to @balajiv113)
  • QEMU:

    • Connect a virtio-serial device to serialv.log in the instance directory (#1674, #1693)
    • Connect a pci-serial device to serialp.log for making more boot logs visible on ARM (#1703)
    • Support virtiofs on Linux hosts (#1628, thanks to @refi64).
      macOS hosts still require VZ for using virtiofs.
    • Support armv7l (32-bit ARM) architecture (#1633)
  • nerdctl:

  • Templates:

    • CentOS Stream 8: update to 20230710.0 (#1700)
    • CentOS Stream 9: update to 20230720.0 (#1700)
    • Debian: update to 12 (#1635, #1700, thanks to @unidevel)
    • Oracle Linux: update to 8.8 and 9.2 (#1700)
    • Ubuntu: update to release-20230729 (#1700)
    • openSUSE: update to 15.5 (#1700)
    • Add template://experimental/rke2 (#1650, thanks to @Hirozy)
    • Promote template://docker to Tier 1 (#1694)
  • Misc:

    • Makefile: add make minimal (#1673)
    • Rename "examples" to "templates" (#1679, #1707)

Full changes: https://github.com/lima-vm/lima/milestone/35?closed=1
Thanks to @ArmingLou @Hirozy @afbjorklund @a-palchikov @balajiv113 @fyuan1316 @jandubois @refi64 @unidevel

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/5757601750

The sha256sum of the SHA256SUMS file itself is 17389cba1ccc7429968fddea3427d85eddc1f37eaa3a57f3750c3552f661c4ed .

v0.16.0

30 May 06:27
v0.16.0
01dbd4d
Compare
Choose a tag to compare

This release adds an experimental support for the user-v2 network driver: limactl start template://experimental/net-user-v2.
The user-v2 network driver enables VM-to-VM networking without the root privilege on the host.
This should be useful for simulating multi-node Kubernetes clusters on a laptop.

This release also fixes a relatively minor vulnerability CVE-2023-32684.
This vulnerability is very unlikely to be exploitable as long as you are using the official templates of Lima.

Changes

Full changes: https://github.com/lima-vm/lima/milestone/34?closed=1
Thanks to @afbjorklund @balajiv113 @bumpsoo063 @cpach @jandubois @pendo324 @sam-berning

Usage

[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/5118006806

The sha256sum of the SHA256SUMS file itself is 2062c42688128dca55331fc1a8f4841cbf41ed9dd11867d48decdf6880afde87 .

v0.15.1

15 Apr 18:26
v0.15.1
261b4cd
Compare
Choose a tag to compare

This release adds support for QEMU 8.0.

Changes

Full changes: https://github.com/lima-vm/lima/milestone/33?closed=1
Thanks to @afbjorklund @balajiv113 @e-minguez @jandubois @lobshunter @ningziwen @pendo324

Usage

[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/4709036669

The sha256sum of the SHA256SUMS file itself is 91cb421f8488916b6e7ae387446c21c86e4e972bda32a7e377eee58508699911 .

v0.15.0

28 Feb 12:37
v0.15.0
36726f2
Compare
Choose a tag to compare

This release experimentally implements yq expressions for customizing the templates (#1359),
e.g.,

limactl start --set='.cpus = 2 | .memory = "2GiB"'

This release is also remarkable for automatic forwarding of Kubernetes NodePorts and LoadBalancers (#1355).

Also, in this release we welcome new maintainers Anders F Björklund (@afbjorklund) and Balaji Vijayakumar (@balajiv113) 🎉

Upgrading notice

containerd <= v1.6.16 creates /etc/cni with permission 0700 when running in the rootful mode.

This causes an error like open /etc/cni/tuning/allowlist.conf: permission denied for CNI tuning plugin >= v1.2.0 when running in the rootless mode.

Lima users may face this error during upgrading nerdctl to >= v1.2.0 (Lima >= v0.15.0).
Run lima sudo chmod 0755 /etc/cni to dismiss this error.

Changes

Full changes: https://github.com/lima-vm/lima/milestone/30?closed=1
Thanks to @Nino-K @afbjorklund @balajiv113 @deitch @jandubois @lobshunter @pnasrat @ryancurrah @suyanhanx

Usage

[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/4292802059

The sha256sum of the SHA256SUMS file itself is 50c50e8ab02b0187b2d795b191834bfcaa66757c6abbaa708be6a13658495d48 .