Skip to content

Releases: lima-vm/lima

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 .

v0.14.2

23 Dec 14:21
v0.14.2
f8f3a7b
Compare
Choose a tag to compare

Changes

  • VZ:

    • Fix NSInvalidArgumentException on headless hosts, such as EC2 mac2.metal (#1261)
  • limactl CLI:

    • limactl start: support reading template from stdin (limactl start --name=NAME --tty=false -) (#1250, thanks to @deitch)
    • limactl info: add vmTypes []string to the JSON output (#1262)
  • Templates:

    • Arch Linux: update to 20221215.111177 (#1257)

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

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

The sha256sum of the SHA256SUMS file itself is 682c7d5e520914cc513d8af440de9ea3608817bbb475a45e893e238b7d14d0af .

v0.14.1

14 Dec 06:41
v0.14.1
585d6e2
Compare
Choose a tag to compare

This release fixes a regression #1242 in Lima v0.14.0:
On colima, docker data, such as containers and images in /var/lib/docker were unmounted and they looked as if they were removed.

The actual data are not removed, and can be rescued by upgrading Lima to this v0.14.1 release (or downgrading to v0.13.0).

Only the following instances are known to have been affected:

  • colima instances
  • alpine instances that were created with Lima before v0.13.0

The default (ubuntu) instances are unaffected.

Changes

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

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

The sha256sum of the SHA256SUMS file itself is 11c0e020d62d8192e40249c9aa978f7dc15ea6e250aa8d66879045812b807d02 .

v0.14.0

12 Dec 15:14
v0.14.0
08854be
Compare
Choose a tag to compare

This release adds an experimental support for Apple's Virtualization.framework aka vz.

limactl start template://experimental/vz

Pros:

Cons:

  • No support for legacy BIOS
  • The boot log is not available in serial.log
  • The source code of Virtualization.framework does not seem available

Using Virtualization.framework with Lima needs macOS 13.0 or later.
See also docs/vmtype.md.

Changes

  • Virtualization.framework (VZ):

  • vmnet:

    • Support detecting Homebrew's socket_vmnet path (#1220)
  • YAML:

    • Remove deprecated network and useHostResolver (#1186)
  • limactl CLI:

    • Allow using $SSH as a custom SSH binary path (#1132, thanks to @antoineco)
    • Add limactl disk (create|delete|list) commands for attaching multiple disks to instances (#1065, thanks to @sam-berning)
    • Add limactl start --timeout=<TIMEOUT> for setting custom timeout (#1143, thanks to @antoineco)
  • nerdctl:

    • Update to v1.1.0. Compose is significantly improved. (#1236)
  • Templates: (#1159, #1194, #1215, #1236)

    • Alpine: update to 3.17.0
    • Arch Linux: update to 20221201.106936
    • Debian 11: update to 20221205-1220
    • EL derivatives: update to 8.7/9.1
    • Fedora: update to 37
    • Ubuntu 22.04: update to release-20221201
    • Ubuntu 22.10: update to release-20221201
    • openSUSE Tumbleweed: switch away from "JeOS" to "Minimal-VM"
  • Misc:

Full changes: https://github.com/lima-vm/lima/milestone/29?closed=1
Thanks to @afbjorklund @antoineco @balajiv113 @chancez @chrisx8 @estesp @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/3676969854

The sha256sum of the SHA256SUMS file itself is adcc4b9c798aba356c5c3a5140a77edf8443b8df9e195d7ba89d976ef5074ed3 .

v0.14.0-beta.1

23 Nov 11:58
v0.14.0-beta.1
720c211
Compare
Choose a tag to compare
v0.14.0-beta.1 Pre-release
Pre-release

This release adds an experimental support for Apple's Virtualization.framework aka vz.

limactl start template://experimental/vz

Pros:

  • Supports faster filesystem sharing (virtiofs)
  • Supports faster emulation for running Linux/x86_64 ELF binaries on ARM (Rosetta 2)

Cons:

  • No support for legacy BIOS
  • The boot log is not available in serial.log
  • The source code of Virtualization.framework does not seem available

Using Virtualization.framework with Lima needs macOS 13.0 or later.

Changes

(To be documented)
Since beta.0, the support for Rosetta was added.

Full changes: https://github.com/lima-vm/lima/milestone/29?closed=1
Thanks to @afbjorklund @antoineco @balajiv113 @chancez @chrisx8 @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/3531739770

The sha256sum of the SHA256SUMS file itself is daebd6289f6327f70abd14616747e906244cd3f5665b5662e93242d9b6368732 .

v0.14.0-beta.0

16 Nov 08:31
v0.14.0-beta.0
c3e82cc
Compare
Choose a tag to compare
v0.14.0-beta.0 Pre-release
Pre-release

This release adds an experimental support for Apple's Virtualization.framework aka vz.

limactl start template://experimental/vz

Pros:

  • Supports faster filesystem sharing (virtiofs)
  • (Coming soon) Supports faster emulation for running Linux/x86_64 ELF binaries on ARM (Rosetta 2)

Cons:

  • No support for legacy BIOS
  • The boot log is not available in serial.log
  • The source code of Virtualization.framework does not seem available

Using Virtualization.framework with Lima needs macOS 13.0 or later.

Changes

(To be documented)

Full changes: https://github.com/lima-vm/lima/milestone/29?closed=1
Thanks to @antoineco @balajiv113 @chrisx8 @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/3477558407

The sha256sum of the SHA256SUMS file itself is 4ab2fc1128fed870a4803f1c12ebdfc58357584dc25fa31ae2547efb72c13b37 .