COPY failed: stat /var/lib/... no such file or directory
DanyloStasenko opened this issue · 1 comments
DanyloStasenko commented
Hi, I opened 'complete' folder end executed following command:
docker build -t myorg/myapp .
and it is failing with such error:
Step 4/7 : COPY ${DEPENDENCY}/BOOT-INF/lib /app/lib
COPY failed: stat /var/lib/docker/tmp/docker-builder161201857/target/dependency/BOOT-INF/lib: no such file or directory
Could You, please, advice what I'm doing wrong?
Sorry for such noob-question, and thank you in advance!
DanyloStasenko commented
Have no idea what happened, but for me worked following:
- deleting maven settings(settings.xml)
- deleting docker configs (.docker -> config.json)
- 'docker logout', etc.