godwokenrises / godwoken-kicker

one line command to start godwoken-polyjuice chain.
19 stars 24 forks source link

container cannot be successfully started on the machine with the arm architecture #320

Open sunchengzhu opened 1 year ago

sunchengzhu commented 1 year ago

I am using a mac with m1 chip, and the process is stuck on starting container docker-godwoken-1.

⠿ Container docker-godwoken-1                        Waiting              6.8s

docker-godwoken-1 keeps brushing the logs below

qemu: uncaught target signal 11 (Segmentation fault) - core dumped
/var/lib/layer2/entrypoint.sh: line 226:    14 Segmentation fault      godwoken --version
jjyr commented 1 year ago

The m1 support is broken by the new version of ckb-vm. It is fixed in https://github.com/nervosnetwork/ckb-vm/pull/277

We need to wait for ckb upgrade to the latest ckb-vm version, then we can enable m1 build.

jjyr commented 1 year ago

The PR is merged https://github.com/godwokenrises/godwoken/pull/882.

We need to support the arm version image and integrate it with Kicker.

IMO we should improve user experience by providing more context before we support the arm version: