ERROR: failed to build: failed to solve: openjdk:17: failed to resolve source metadata for docker.io/library/openjdk:17-oracle: [duplicate]

1 week ago 20
ARTICLE AD BOX

I have created a java appliction, I wish to upload the appliaction as a docker image. The Problem is it looks like Java 17 is not supported, or no longer supported.

I have used FROM openjdk:17

I got the error ERROR: failed to build: failed to solve: openjdk:17: failed to resolve source metadata for docker.io/library/openjdk:17-oracle: docker.io/library/openjdk:17: not found

I also used FROM openjdk:17-jdk-slim FROM amazoncorretto:17.0.7-alpine FROM openjdk:17-oracle

I looked up https://hub.docker.com/_/openjdk

To see if I can find a jdk17 I could use. Is there a way to search docker to see what JDKs are available.

Or the excecise is Kubernetes, should I use another container with minikube, If docker does not, or no longer supports java 17

Read Entire Article