Skip to content

add Docker image support for arm64 chips (Barrie's MacBook Air can test) #1110

@barriebyron

Description

@barriebyron

per docker/for-mac#5123 (comment)

Docker issue logged and closed because: this is a qemu bug, which is the upstream component we use for running Intel (amd64) containers on M1 (arm64) chips, and is unfortunately not something we control. In general we recommend running arm64 containers on M1 chips because (even ignoring any crashes) they will always be faster and use less memory.

symptom
`➜ starport git:(install-v0.16-docs) docker run -ti -v $HOME/sdh:/home/tendermint -v $PWD:/apps starport/cli:develop app github.com/hello/planet

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

⭐️ Successfully created a new blockchain 'planet'.
👉 Get started with the following commands:

% cd planet
% starport serve

Documentation: https://docs.starport.network
➜ starport git:(install-v0.16-docs) ✗ docker run -ti -v $HOME/sdh:/home/tendermint -v $PWD:/apps -p 1317:1317 -p 26657:26657 starport/cli:develop serve -p planet

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
qemu: uncaught target signal 11 (Segmentation fault) - core dumped`

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