Description
The vz VM type does not work on my M3 Mac, so I must use qemu. My config at ~/.config/default/colima.yaml has vmType: qemu so that when I run colima start I should use the qemu VM type. Instead it goes with the vz type, and overwrites the config file as well. It also fails for this same reason when running brew services start colima, and indeed overwrites the config too. I am able to run colima start --edit, see that it has already overwritten the vmType, edit it to qemu, then exit and it will work, but a simple colima start fails. The only way I have ever gotten it to work in brew services temporarily is to run colima delete then reinstall colima, but it breaks again after some time, and I am not sure what triggers it, possibly a reboot.
Version
colima version 0.6.8
git commit: 9b0809d
limactl version 0.20.1
qemu-img version 8.2.1
Operating System
Output of colima status
If I run colima start, then colima status:
FATA[0000] colima is not running
If I run colima start --edit, and edit it to qemu, then run colima status:
INFO[0000] colima is running using QEMU
INFO[0000] arch: aarch64
INFO[0000] runtime: docker
INFO[0000] mountType: virtiofs
INFO[0000] socket: unix:///Users/MYUSER/.colima/default/docker.sock
Reproduction Steps
- Set
vmType: qemu in ~/.colima/default/colima.yaml.
- Run
colima start.
- Note failure and check config to see it over.written with
vmType: vz
Expected behaviour
colima start should run the profile in the config and not overwrite the config.
Additional context
colima start gives the following:
INFO[0000] runtime: docker
INFO[0000] starting ... context=vm
> Using the existing instance "colima"
> errors inspecting instance: [vz driver is running but host agent is not]
FATA[0000] error starting vm: error at 'starting': exit status 1
Description
The
vzVM type does not work on my M3 Mac, so I must useqemu. My config at~/.config/default/colima.yamlhasvmType: qemuso that when I runcolima startI should use theqemuVM type. Instead it goes with thevztype, and overwrites the config file as well. It also fails for this same reason when runningbrew services start colima, and indeed overwrites the config too. I am able to runcolima start --edit, see that it has already overwritten thevmType, edit it toqemu, then exit and it will work, but a simplecolima startfails. The only way I have ever gotten it to work in brew services temporarily is to runcolima deletethen reinstall colima, but it breaks again after some time, and I am not sure what triggers it, possibly a reboot.Version
colima version 0.6.8
git commit: 9b0809d
limactl version 0.20.1
qemu-img version 8.2.1
Operating System
Output of
colima statusIf I run
colima start, thencolima status:If I run
colima start --edit, and edit it toqemu, then runcolima status:Reproduction Steps
vmType: qemuin~/.colima/default/colima.yaml.colima start.vmType: vzExpected behaviour
colima startshould run the profile in the config and not overwrite the config.Additional context
colima startgives the following: