Home > Blockchain >  running DockerFile of spring app is not working on windows
running DockerFile of spring app is not working on windows

Time:03-07

This is my Dockerfile

FROM openjdk:8-jdk-alpine
ARG JAR_FILES=target/*.jar
COPY ${JAR_FILES} app.jar
EXPOSE 9099
ENTRYPOINT ["java","-jar","/app.jar"]

when running the commande docker build . inside the directoery of the project i got this error :

enter image description here

CodePudding user response:

  1. Could be due to insufficient space (refer : https://forums.docker.com/t/error-read-only-file-system-write-var-lib-docker-buildkit-metadata-v2-db/103637)

  2. Might be Dockerfile name issue (Dockerfile not dockerfile)

  • Related