Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COPY failed: stat /var/lib/... no such file or directory #75

Closed
DanyloStasenko opened this issue Nov 17, 2019 · 1 comment
Closed

COPY failed: stat /var/lib/... no such file or directory #75

DanyloStasenko opened this issue Nov 17, 2019 · 1 comment

Comments

@DanyloStasenko
Copy link

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

image

Could You, please, advice what I'm doing wrong?
Sorry for such noob-question, and thank you in advance!

@DanyloStasenko
Copy link
Author

Have no idea what happened, but for me worked following:

  • deleting maven settings(settings.xml)
  • deleting docker configs (.docker -> config.json)
  • 'docker logout', etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant