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

No matching manifest for linux/arm64/v8 in the manifest list entries (macOS m1) #58

Closed
gdiazs opened this issue Jan 17, 2022 · 3 comments

Comments

@gdiazs
Copy link

gdiazs commented Jan 17, 2022

Running
docker pull tomee
its failing on macOS m1 chip.

docker pull tomee
Using default tag: latest
latest: Pulling from library/tomee
no matching manifest for linux/arm64/v8 in the manifest list entries

Building a new image from tomee images works as expected and the image is built for m1 properly, but trying to pull the public tomee images has issues.

@cesarhernandezgt
Copy link
Member

Thank you @gdiazs for the detailed information.
It seems there is a workaround to run in emulation mode

Not all images are available for ARM64 architecture. You can add --platform linux/amd64 to run an Intel image under emulation
https://docs.docker.com/desktop/mac/apple-silicon/

Building a new image from tomee images works as expected and the image is built for m1 properly, but trying to pull the public tomee images has issues.

Currently, TomEE docker images are based on Linux x86-64 (amd64), but not yet for arm64 https://github.com/docker-library/official-images#architectures-other-than-amd64

I created https://issues.apache.org/jira/browse/TOMEE-3827 to follow up on the TomEE mailing list

@scriptmonkey
Copy link
Collaborator

@gdiazs, can you verify that the arm64v8 images are available? These were pushed within the last couple weeks.

@gdiazs
Copy link
Author

gdiazs commented Feb 25, 2022

Hello @scriptmonkey. I just tested it using this docker-compose file and well all images were pulled and executed successfully for aarch64

version: "3.9"
services:
  tomee9latest:
    ports:
      - 8080:8080
    image: tomee:latest
  tomee9plus:
    ports:
      - 8081:8080
    image: tomee:9.0.0.M7-plus
  tomee9webprofile:
    ports:
      - 8082:8080
    image: tomee:9.0.0-M7-webprofile
  tomee9plume:
    ports:
      - 8083:8080
    image: tomee:9.0.0-M7-plume
  tomee9microprofile:
    ports:
      - 8084:8080
    image: tomee:9.0.0-M7-microprofile
  tomee9:
    ports:
      - 8085:8080
    image: tomee:9

Thank you so much.

Will close the issue.

@gdiazs gdiazs closed this as completed Feb 25, 2022
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