Boa tarde! Estou tendo a falha a seguir ao rodar o comando "docker build -t alura/forum . "
=> ERROR [internal] load metadata for docker.io/library/openjdk:8-jdk-alpine
[internal] load metadata for docker.io/library/openjdk:8-jdk-alpine:
failed to solve with frontend dockerfile.v0: failed to create LLB definition: rpc error: code = Unknown desc = error getting credentials - err: exit status 1, out: error getting credentials - err: exit status 1, out:
Elemento não encontrado.
Segue o Dockerfile FROM openjdk:8-jdk-alpine RUN addgroup -S spring && adduser -S spring -G spring USER spring:spring ARG JAR_FILE=target/*.jar COPY ${JAR_FILE} app.jar ENTRYPOINT ["java", "-jar", "/app.jar"]