Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mina daemon container does not run on Mac M1 #15777

Open
2 tasks done
vlad2095 opened this issue Jun 26, 2024 · 0 comments
Open
2 tasks done

Mina daemon container does not run on Mac M1 #15777

vlad2095 opened this issue Jun 26, 2024 · 0 comments

Comments

@vlad2095
Copy link

vlad2095 commented Jun 26, 2024

Preliminary Checks

Description

Basically, image doesn't support arm architecture.
I found comment in the old issue about that, looks related:
#8970 (comment)
I use podman in the examples, docker experience is the same.

Steps to Reproduce

Trying to run mina daemon within container

podman run --arch linux/amd64 --name mina-daemon \
--env MINA_PRIVKEY_PASS=My_V3ry_S3cure_Privat3K3yPassw0rd --env MINA_LIBP2P_PASS=LIBP2p_PASSWrod --env PEER_LIST_URL=https://storage.googleapis.com/mina-seed-lists/mainnet_seeds.txt \
--env LOG_LEVEL=Debug --env FILE_LOG_LEVEL=Debug docker.io/minaprotocol/mina-daemon:3.0.0-93e0279-bullseye-mainnet

Output

WARNING: image platform (linux/amd64) does not match the expected platform (linux/linux/amd64)
Mina process exited with status code 1

Same trying to start with sh entrypoint

 podman run --rm --name mina-daemon --entrypoint sh docker.io/minaprotocol/mina-daemon:3.0.0-93e0279-bullseye-mainnet
Trying to pull docker.io/minaprotocol/mina-daemon:3.0.0-93e0279-bullseye-mainnet...
Getting image source signatures
Copying blob sha256:710798a36c67f50fc2b88fb80c0d543c44a71179ae436467dce5517bb0118901
...
Copying config sha256:0bc6abf5bbf727e51871197d54890b6108aef6ce0e9be18fd4fe5d1af9de71fb
Writing manifest to image destination
WARNING: image platform (linux/amd64) does not match the expected platform (linux/arm64)

Expected Result

mina daemon running inside docker container

Actual Result

WARNING: image platform (linux/amd64) does not match the expected platform (linux/linux/amd64)
Mina process exited with status code 1

Daemon version

mina-daemon:3.0.0-93e0279-bullseye-mainnet

How frequently do you see this issue?

Always

What is the impact of this issue on your ability to run a node?

Blocker

Status

exited

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant