Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable start colima in mac M3 #1199

Open
1 of 5 tasks
samantsu01 opened this issue Nov 21, 2024 · 6 comments
Open
1 of 5 tasks

Unable start colima in mac M3 #1199

samantsu01 opened this issue Nov 21, 2024 · 6 comments

Comments

@samantsu01
Copy link

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: 9c08cff
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)
  • Apple Silicon >= 14 (Sonoma)
  • Linux

Output of colima status

colima status
FATA[0000] colima is not running

Reproduction Steps

  1. brew install lima
    2.brew install qemu
    3.brew install colima
  2. colima start --cpu 2 --memory 4 --arch x86_64

Expected behaviour

should start colima with docker

Additional context

No response

@abiosoft
Copy link
Owner

Is that all the output you get?

@samantsu01
Copy link
Author

I didnt get you question , can you please elaborate ?

@abiosoft
Copy link
Owner

Can you start with --verbose flag and share the output?

colima start --verbose

@samantsu01
Copy link
Author

samantsu01 commented Nov 22, 2024

here is the output, not moving forward after that

Screenshot 2024-11-22 at 3 35 50 PM

@abiosoft
Copy link
Owner

That is very strange.
Does it start up normally if you do not specify x86_64 as the architecture.

@ddcech
Copy link

ddcech commented Dec 6, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants