stacks-blockchain-api
stacks-blockchain-api copied to clipboard
It's not supported on linux/arm64 or Apple M1 (ARM64)
linux/arm64 machine
I am trying to run the docker image with this provided command on linux/arm64
machine:
docker run -p 3999:3999 blockstack/stacks-blockchain-api-standalone mocknet
But I get the following error:
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
standard_init_linux.go:228: exec user process caused: exec format error
When I try to specify the architure with the following command:
docker run --platform linux/arm64 -p 3999:3999 blockstack/stacks-blockchain-api-standalone mocknet
it returns this error:
Unable to find image 'blockstack/stacks-blockchain-api-standalone:latest' locally
latest: Pulling from blockstack/stacks-blockchain-api-standalone
Digest: sha256:35518601f5271b618c3aa09933479fed091b2910928b1384a6f8926fec79f0fb
Status: Image is up to date for blockstack/stacks-blockchain-api-standalone:latest
WARNING: image with reference blockstack/stacks-blockchain-api-standalone was found but does not match the specified platform: wanted linux/arm64, actual: linux/amd64
docker: Error response from daemon: image with reference blockstack/stacks-blockchain-api-standalone was found but does not match the specified platform: wanted linux/arm64, actual: linux/amd64.
See 'docker run --help'.
Apple Silicion M1
It runs the marf thing after finishing the server keeps restarting
I can see that the stacks-blockchain
have some support for these platforms (not sure if this is related or not).