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 MockServer on Raspberry PI 4 not working - java exec format error #1868

Open
GuilhemROLLAND opened this issue May 2, 2024 · 0 comments

Comments

@GuilhemROLLAND
Copy link

Describe the issue
Hello,
I try to run the mockserver on a raspberry PI 4, but the docker image crashed.

What you are trying to do
docker run mockserver/mockserver --> Try the amd64 image, print a warning about that, and java crash with "exec format error"
docker run mockserver/mockserver@sha256:b8a8bc5042b6fd7fbe0acfbf81b23a5f576579fae48fcdecb676c9492905341d --> Boot the arm64 image, no warning about architecture, but java crash with the same error.

MockServer version

5.15.0 AND 5.14.0, amd64 (so with the docker emulator) AND arm64 version

To Reproduce
Steps to reproduce the issue:

  1. How you are running MockServer (i.e maven plugin, docker, etc)
    With docker (26.1.1, for example)
  2. Code you used to create expectations
    Just trying to run it
  3. What error you saw
    exec /usr/bin/java: exec format error

Expected behaviour
Just run the image, as on amd64

MockServer Log

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