-1

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

CryptoFool
  • 21,719
  • 5
  • 26
  • 44
  • There's a similar question already on SO. Maybe it will help: https://stackoverflow.com/questions/67757905/error-response-from-daemon-failed-to-prune-build-cache-write-var-lib-docker-b. – CryptoFool Mar 06 '22 at 15:14

1 Answers1

0
  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)

Prabhu
  • 76
  • 2
  • 6