Unable start colima in mac M3
Description
Trying to start colima using this command colima start --cpu 2 --memory 4 --arch x86_64
Getting hung with message below
INFO[0000] starting colima
INFO[0000] runtime: docker
INFO[0001] creating and starting ... context=vm
Terminal is not available, proceeding without opening an editor
Version
colima version 0.8.0 git commit: 9c08cff339f087c0600d9d56af7b5fbcfe02e287 limactl version 1.0.1 qemu-img version 9.1.1 Copyright (c) 2003-2024 Fabrice Bellard and the QEMU Project developers
Operating System
- [ ] macOS Intel <= 13 (Ventura)
- [ ] macOS Intel >= 14 (Sonoma)
- [ ] Apple Silicon <= 13 (Ventura)
- [X] Apple Silicon >= 14 (Sonoma)
- [ ] Linux
Output of colima status
colima status FATA[0000] colima is not running
Reproduction Steps
- brew install lima 2.brew install qemu 3.brew install colima
- colima start --cpu 2 --memory 4 --arch x86_64
Expected behaviour
should start colima with docker
Additional context
No response
Is that all the output you get?
I didnt get you question , can you please elaborate ?
Can you start with --verbose flag and share the output?
colima start --verbose
here is the output, not moving forward after that
That is very strange. Does it start up normally if you do not specify x86_64 as the architecture.
@samantsu01, not sure if it matters, but I did not need to manually install lima or qemu, steps 1 & 2 in your reproduction steps. Just brew install colima works fine.
These are the settings that consistently work for me to get my large project to run on M3:
colima start -f --cpu 6 --memory 12 --disk 50 --arch aarch64 --vm-type=vz --vz-rosetta --mount-type=virtiofs
Having the exact same issue on Mac M1
Was having the exactly same issue wit my Mac M1 today and after spending hours tweaking configurations reinstalling Colima and etc I remembered that in the past I had to manually symlink to ~/.colima/docker.sock from /var/run/docker.sock (don't remember why)
I removed this symlink and everything is working now.
sudo rm /var/run/docker.sock
Was having the exactly same issue wit my Mac M1 today and after spending hours tweaking configurations reinstalling Colima and etc I remembered that in the past I had to manually symlink to
~/.colima/docker.sockfrom/var/run/docker.sock(don't remember why) I removed this symlink and everything is working now.sudo rm /var/run/docker.sock
it worked for Apple M2 Max