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

ARM64 docker image not supported #5769

Closed
pagocs opened this issue May 6, 2020 · 7 comments
Closed

ARM64 docker image not supported #5769

pagocs opened this issue May 6, 2020 · 7 comments
Labels
Help Wanted Extra attention is needed

Comments

@pagocs
Copy link

pagocs commented May 6, 2020

🚀 Feature Request

Description

I would like to test the beacon chain and the validator node on RPI 4 in docker but I cannot find compatible ARM64 image.

Describe the solution you'd like

Will this be supported or someone could help me how I could be built myself?
@terencechain terencechain added the Help Wanted Extra attention is needed label May 7, 2020
@prestonvanloon
Copy link
Member

prestonvanloon commented May 9, 2020

There is no current plan to support ARM64 based docker images.

I haven't tested this idea, but here's a thought that might be a good starting point for you to experiment. On an ARM device, build a docker image with a Dockerfile that looks something like this

FROM arm64v8/ubuntu

RUN apt-get install -y libstdc++ libgcc1 pgp

RUN curl https://raw.githubusercontent.com/prysmaticlabs/prysm/master/prysm.sh

CMD ./prysm.sh beacon-chain

@pagocs
Copy link
Author

pagocs commented May 12, 2020

Thank you @prestonvanloon for the information. I managed to create docker containers (beacon and validator) which are run perfectly for days now.

Config: RPi 4 4GB RAM.

If it is interesting I could share the dockerfile and basic instructions to setup and launch.

@rauljordan
Copy link
Contributor

Hey @pagocs that would be great, could you suggest it as a pull request or issue in our documentation portal here https://docs.prylabs.network ? Thank you!

@prestonvanloon
Copy link
Member

I think we could publish x86 and arm images to dockerhub. It seems rules_docker supports platform transition rules bazelbuild/rules_docker#1963, that might be helpful.

I know that dockerhub supports both platforms with the same tag. Still looking at google container registry to see if both platforms could be supported with the same tag.

@pablote
Copy link

pablote commented May 25, 2022

There is no current plan to support ARM64 based docker images

Can this be reconsidered please? I'm building a new setup around docker images/containers and arm hw, and I just realized this didn't work either using the docker hub repo or gcr.io.

@prestonvanloon
Copy link
Member

Blocked by this: #10119

@prestonvanloon
Copy link
Member

Fixed in #12428. We are planning to switch to these multi-arch images, starting in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants