Skip to content

BeaconKit docker fails to start on Mac M1 due to blst #2989

@ferranbt

Description

@ferranbt

Running the beacon-kit docker on Mac M1 crashes due to a compilation error of blst:

➜  berachain git:(master) ✗ docker run ghcr.io/berachain/beacon-kit:v1.3.4-rc1
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Caught SIGILL in blst_cgo_init, consult <blst>/bindings/go/README.md.
➜  berachain git:(master) ✗ docker run --platform linux/arm64 ghcr.io/berachain/beacon-kit:v1.3.4-rc1
Unable to find image 'ghcr.io/berachain/beacon-kit:v1.3.4-rc1' locally
v1.3.4-rc1: Pulling from berachain/beacon-kit
Digest: sha256:8c29582e1f51624dfee7f8ca0b481d514056d63a93b4e5a89a23305d5b4f9c88
Status: Image is up to date for ghcr.io/berachain/beacon-kit:v1.3.4-rc1
docker: Error response from daemon: image with reference ghcr.io/berachain/beacon-kit:v1.3.4-rc1 was found but does not provide the specified platform (linux/arm64)

Run 'docker run --help' for more information
➜  berachain git:(master) ✗ uname -m
arm64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions