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

Image won't start on RPi due to platform and exec format error #141

Open
manoelpqueiroz opened this issue Nov 16, 2023 · 0 comments
Open

Comments

@manoelpqueiroz
Copy link

I have downloaded the compose image from the repo to use with my Raspberry Pi, but faced two major barriers:

Platform error

On a RPi4, running docker compose as it comes from this repo outputs a platform error:

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

After specifying linux/amd64 as the platform for the app service and running compose, both app and db keep restarting. Using docker compose logs, I get the following error:

monica-app  | exec /usr/local/bin/entrypoint.sh: exec format error
monica-db  | exec /usr/local/bin/docker-entrypoint.sh: exec format error

As far as I know, this is a problem with the source code itself, not the image. Can this be fixed directly with Docker, perhaps? Or is this an issue to be relayed to the main repo?

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