smartcontracts/simple-optimism-node

Can't run on Apple Silicon

Opened this issue · 0 comments

Hey, I an trying to run a node on Apple M3 processor, although docker can't start (logs attached). Did anybody manage to bootstrap a node on ARM?

$ docker compose --profile current up -d

[+] Running 2/26
 ⠧ grafana Pulling                                                                                                                                                                                     1.8s
 ⠧ prometheus 12 layers [⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀]      0B/0B      Pulling                                                                                                                                         1.8s
   ⠼ ed490e74f363 Pulling fs layer                                                                                                                                                                     0.4s
   ⠼ 45145c469923 Pulling fs layer                                                                                                                                                                     0.4s
   ⠼ 3fd3fbd078f3 Waiting                                                                                                                                                                              0.4s
   ⠼ 2914493bcbfd Waiting                                                                                                                                                                              0.4s
   ⠼ 64d6e7c2c7a5 Pulling fs layer                                                                                                                                                                     0.4s
   ⠼ 2593e584578e Waiting                                                                                                                                                                              0.4s
   ⠼ 8cd62de73bea Waiting                                                                                                                                                                              0.4s
   ⠼ 0e36311405c5 Waiting                                                                                                                                                                              0.4s
   ⠼ deacc6707a51 Waiting                                                                                                                                                                              0.4s
   ⠼ 62c7872eeedd Waiting                                                                                                                                                                              0.4s
   ⠼ 68863cb330da Waiting                                                                                                                                                                              0.4s
   ⠼ 3c9e88783ff9 Waiting                                                                                                                                                                              0.4s
 ⠧ op-node Pulling                                                                                                                                                                                     1.8s
 ⠧ fault-detector Pulling                                                                                                                                                                              1.8s
 ✘ healthcheck Error                                                                                                                                                                                   1.8s
 ⠧ influxdb 7 layers [⠀⠀⠀⠀⠀⠀⠀]      0B/0B      Pulling                                                                                                                                                 1.8s
   ⠼ bbf382c14c7b Pulling fs layer                                                                                                                                                                     0.4s
   ⠼ f1e860a4a6ca Waiting                                                                                                                                                                              0.4s
   ⠼ faa3806cdb76 Waiting                                                                                                                                                                              0.4s
   ⠼ 264f8f135e2e Waiting                                                                                                                                                                              0.4s
   ⠼ f05203f23341 Waiting                                                                                                                                                                              0.4s
   ⠼ 95cdb203931a Waiting                                                                                                                                                                              0.4s
   ⠼ 8de133f0c8ce Waiting                                                                                                                                                                              0.4s
 ✘ op-geth Error                                                                                                                                                                                       1.8s
no matching manifest for linux/arm64/v8 in the manifest list entries

upd: I used DOCKER_DEFAULT_PLATFORM=linux/amd64 to make it run using Rosetta:

DOCKER_DEFAULT_PLATFORM=linux/amd64 docker compose --profile current up -d