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

Docker container platform add arm64 #3878

Closed
zzir opened this issue Apr 12, 2022 · 8 comments
Closed

Docker container platform add arm64 #3878

zzir opened this issue Apr 12, 2022 · 8 comments

Comments

@zzir
Copy link

zzir commented Apr 12, 2022

when debugging something on Macbook, I found that the container was only x86_64.

@AskAlexSharov
Copy link
Collaborator

I don't understand the problem

@zzir
Copy link
Author

zzir commented Apr 12, 2022

I don't understand the problem

In this,

docker pull thorax/erigon

only linux/amd64 platform. When used on MacOS, hint:

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

It is hoped that image can support multiple platforms.

@AskAlexSharov
Copy link
Collaborator

what is linux/arm64/v8? v8?

@AskAlexSharov
Copy link
Collaborator

probably M1

@AskAlexSharov
Copy link
Collaborator

you can try docker's flag --platform linux/amd64
I don't know yet how to configure hub.docker.com to build for linux/amd64/v8

@AskAlexSharov
Copy link
Collaborator

Also you can build Erigon Docker image locally from sources. See: docker/for-mac#5310 (comment)

@mandrigin
Copy link
Collaborator

@AskAlexSharov I think it is possible to have a "multiplatform" Docker image using docker buildx command, but the question is do we want to do so? :) If so, I can try to fix it, otherwise we can close this issue.

@mandrigin
Copy link
Collaborator

okay, it is a duplicate of #3676 anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants