0

I got some 'return non zero code :1' error in console.

I am new to Docker. I got this error in WSL when trying to build Dockerfile on WSL. I got some path error. How can I fix it?

I have already set to path here like:

COPY /users/home/project/docker_sample_web_app/docker_sample_web_app /docker_sample_web_app
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
  • 2
    Welcome to Stack Overflow. Please [see the reasons](https://meta.stackoverflow.com/a/285557/11810933) we ask that you not add images of text messages/code/etc. to your posts. Please [Edit](https://stackoverflow.com/posts/76958531/edit) your post to include the text of the message, along with the text of any applicable configurations. I've provided you an example of how it should be formatted to be more readable. Thanks! – NotTheDr01ds Aug 23 '23 at 10:31
  • 1
    Please provide enough code so others can better understand or reproduce the problem. – Community Aug 23 '23 at 22:46
  • Isn't COPY [a command](https://stackoverflow.com/questions/24958140/what-is-the-difference-between-the-copy-and-add-commands-in-a-dockerfile), not an attribute? – Peter Mortensen Aug 24 '23 at 10:10
  • Why is it tagged with "Opera"? – Peter Mortensen Aug 24 '23 at 10:10

0 Answers0