Highlights
This release adds the following for devices running macOS 13.0 or newer.
- Support for native macOS Virtualization.Framework
- Support for faster virtiofs volume mounts
- Support for faster x86_64 virtualization on M1 devices via Rosetta2
QEMU is still being utilised on all other OSes, and can still be used on macOS 13 by passing --vm-type qemu
to colima start
or setting vmType: qemu
in the config.
Note
Existing instances will remain on QEMU, only newly created instances will use native macOS virtualization.
Breaking Changes
--network-driver
flag andnetwork.driver
config has been removed.--kubernetes-ingress
flag has been replaced with--kubernetes-disable
flag andkubernetes.ingress
config has been replaced withkubernetes.disable
config. This is to support a more flexible way of disabling k3s features. Ingress still remains disabled by default.
Fixes
- Propagation of
HTTP_PROXY
andHTTPS_PROXY
environment variables to the Docker daemon. Fixes #161, #294, #435. - Custom user-specified Kubernetes version getting reset on startup. Fixes #417.
- Forcefully stopping the VM
colima stop -f
not working when VM status is unknown.
Other Updates
Application
- Added socket path and IP address to output of
status
command. - New
--vm-type
command to toggle between QEMU and Virtualization.Framework. Values areqemu
andvz
. - Colima now releases unused VM disk space to the host on startup.
- Ubuntu layer
--layer
now runs systemd instead of basic tini.
Kubernetes (k3s)
- Update to v1.25.4+k3s1
- New
--kubernetes-disable
flag andkubernetes.disable
config to disable k3s features. - Enable cni config for
cri-dockerd
. Fixes #448, #385.
Network
- New
--dns-host
flag for custom domain name resolutions.
Containerd
- Update to v1.1.0
Volumes
- Support for virtiofs volumes (requires macOS 13 and Lima v0.14.0).
Commits
- vm: multiple minor fixes by @abiosoft in #442
- feat: add kubernetes-disable flag by @pmalek in #443
- k3s: configurable disabled features by @abiosoft in #444
- fix: when vm /etc/hosts contains empty line could cause index out of range by @XGFan in #446
- net: switch to socket_vmnet by @abiosoft in #459
- misc: update links by @abiosoft in #464
- vm: fix layer for large uids by @abiosoft in #474
- vm: switch layer init from tini to systemd for better vm experience by @abiosoft in #475
- vm: propagate environment variables to rc services by @abiosoft in #476
- docs: Update FAQ for docker scan plugin by @usmansaleem in #477
- vm: add /etc/ssl/certs as certs copy target by @droctothorpe in #484
- ci: upgrade golangci-lint GitHub action package from v2 to v3 by @austinvazquez in #489
- ci: upgrade GitHub actions packages from v2 to v3 by @austinvazquez in #488
- vm: add support for macOS Virtualization.Framework by @abiosoft in #504
- vm: prevent auto-migrating instances to vz by @abiosoft in #507
- fix: persist kubernetes config by @hftsin in #505
- chore: refactor macOS version detection by @hftsin in #510
- vm: minor improvements by @abiosoft in #511
- dns: support for custom hosts by @FabianPonce in #512
- chore: pre v0.5.0 cleanups by @abiosoft in #513
New Contributors
- @pmalek made their first contribution in #443
- @XGFan made their first contribution in #446
- @usmansaleem made their first contribution in #477
- @droctothorpe made their first contribution in #484
- @austinvazquez made their first contribution in #489
- @hftsin made their first contribution in #505
- @FabianPonce made their first contribution in #512
Full Changelog: v0.4.6...v0.5.0