github lima-vm/lima v0.17.0

latest releases: v1.0.1, v1.0.0, v1.0.0-beta.0...
15 months ago

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 .

Don't miss a new lima release

NewReleases is sending notifications on new releases.