我下载了 Colima,但我想运行它,但它一直显示:
FFATA[0022] error starting vm: error at 'starting': exit status 1
像这样,所以我不知道如何解决问题。请帮助我
colima version 0.5.5
limactl version 0.17.2
macOS Intel
Ventura 13.3.1
> Using the existing instance "colima-k8s-amd64"
> "QEMU binary \"/Users/david.coutinho/.colima/_wrapper/4e1b408f843d1c63afbbdcf80c40e4c88d33509f/bin/qemu-system-x86_64\" is not properly signed with the \"com.apple.security.hypervisor\" entitlement" error="failed to run [codesign --verify /Users/david.coutinho/.colima/_wrapper/4e1b408f843d1c63afbbdcf80c40e4c88d33509f/bin/qemu-system-x86_64]: exit status 1 (out=\"/Users/david.coutinho/.colima/_wrapper/4e1b408f843d1c63afbbdcf80c40e4c88d33509f/bin/qemu-system-x86_64: code object is not signed at all\\nIn architecture: x86_64\\n\")"
> You have to sign the QEMU binary with the "com.apple.security.hypervisor" entitlement manually. See https://github.com/lima-vm/lima/issues/1742 .
> exiting, status={Running:false Degraded:false Exiting:true Errors:[] SSHLocalPort:0} (hint: see "/Users/david.coutinho/.lima/colima-k8s-amd64/ha.stderr.log")
FATA[0022] error starting vm: error at 'starting': exit status 1
❯ cat /Users/david.coutinho/.lima/colima-k8s-amd64/ha.stderr.log
{"level":"debug","msg":"Creating iso file /Users/david.coutinho/.lima/colima-k8s-amd64/cidata.iso","time":"2023-09-28T14:50:00+01:00"}
{"level":"debug","msg":"Using /var/folders/3s/y_04zpqd1xs8sh4l39fmnjpm0000gq/T/diskfs_iso2067552449 as workspace","time":"2023-09-28T14:50:00+01:00"}
{"level":"debug","msg":"OpenSSH version 9.0.1 detected","time":"2023-09-28T14:50:00+01:00"}
{"level":"debug","msg":"AES accelerator seems available, prioritizing [email protected] and [email protected]","time":"2023-09-28T14:50:00+01:00"}
{"level":"fatal","msg":"failed to run [/Users/david.coutinho/.colima/_wrapper/4e1b408f843d1c63afbbdcf80c40e4c88d33509f/bin/qemu-system-x86_64 -M none -accel help]: stdout=\"\", stderr=\"dyld[77569]: Library not loaded: /usr/local/opt/capstone/lib/libcapstone.4.dylib\\n Referenced from: \u003c2081BA1F-138F-3663-95A3-F7848EF7CD0D\u003e /usr/local/Cellar/qemu/8.0.3/bin/qemu-system-x86_64\\n Reason: tried: '/usr/local/opt/capstone/lib/libcapstone.4.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/capstone/lib/libcapstone.4.dylib' (no such file), '/usr/local/opt/capstone/lib/libcapstone.4.dylib' (no such file), '/usr/local/lib/libcapstone.4.dylib' (no such file), '/usr/lib/libcapstone.4.dylib' (no such file, not in dyld cache), '/usr/local/Cellar/capstone/5.0.1/lib/libcapstone.4.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/Cellar/capstone/5.0.1/lib/libcapstone.4.dylib' (no such file), '/usr/local/Cellar/capstone/5.0.1/lib/libcapstone.4.dylib' (no such file), '/usr/local/lib/libcapstone.4.dylib' (no such file), '/usr/lib/libcapstone.4.dylib' (no such file, not in dyld cache)\\n\"","time":"2023-09-28T14:50:00+01:00"}
我也遇到了同样的问题,并能够解决,
colima delete
colima start
在 GitHub 的 Colima 问题部分找到了此解决方案 - FATA[0000] error running vm: error at 'starting': exit status 1