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 image does not support arm64/Raspberry Pi #326

Open
ghost opened this issue Oct 20, 2021 · 1 comment
Open

Docker image does not support arm64/Raspberry Pi #326

ghost opened this issue Oct 20, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 20, 2021

I'm trying to run this image to build a jekyll site on a Raspberry Pi 4B (https://www.raspberrypi.com/products/raspberry-pi-4-model-b/) which runs on the aarm64 architecture.

Using docker run -v $(pwd):/srv/jekyll -p 4000:4000 -it jekyll/jekyll:latest jekyll serve will download the image but fail with:

Status: Downloaded newer image for jekyll/jekyll:latest
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

Installing jekyll on the host, building the site, and running an apache docker image works because the httpd-alpine images support arm64. This method is not preferred because changes to the site require the image to be rebuilt and relaunched for every change.

@KizzyCode
Copy link

This is also an issue on M1 macs; Docker for Mac has an Amd64-emulation layer, but it is pretty slow.

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

1 participant