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

ERROR: failed to solve: websphere-liberty:23.0.0.4-full-java8-ibmjava: no match for platform #506

Open
carlosperri opened this issue Jun 5, 2023 · 1 comment

Comments

@carlosperri
Copy link

I have a MacBook (Apple M1 Pro) and trying to build an image FROM websphere-liberty:23.0.0.4-full-java8-ibmjava.

However, I'm getting the below error

` => ERROR [internal] load metadata for docker.io/library/websphere-liberty:23.0.0.4-full-java8-ibmjava 1.3s

[internal] load metadata for docker.io/library/websphere-liberty:23.0.0.4-full-java8-ibmjava:


Dockerfile:1

1 | >>> FROM websphere-liberty:23.0.0.4-full-java8-ibmjava

ERROR: failed to solve: websphere-liberty:23.0.0.4-full-java8-ibmjava: no match for platform in manifest sha256:77614c00802348dc0f7b82992174d1259d7ca2f1adf78c4d9237e2de16c0dca4: not found`

I have also tried just only FROM websphere-liberty, but getting the same error.

On official docker image site (https://hub.docker.com/_/websphere-liberty) I see it supports several architectures, including arm64.

Why am I not able to pull the image?

Thanks!

@leochr
Copy link
Member

leochr commented Jun 5, 2023

@carlosperri Liberty images use the IBM Java images (available here) as the base image. IBM Java 8 images don't provide arm64, hence Liberty images with IBM Java 8 are not available for arm64. However, Semeru OpenJ9-based images are available for arm64 (i.e. websphere-liberty:23.0.0.4-full-java11-openj9).

fyi:

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

2 participants