Skip to content

Commit

Permalink
Update DOCKER.md
Browse files Browse the repository at this point in the history
Update common errors
  • Loading branch information
atalyaalon authored Oct 20, 2024
1 parent 3b23816 commit 2fb9a1e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,17 @@ services:

This loads the ./anyway dir (relative to the docker-compose file) as /anyway/anyway in the docker overriding the inner volume and allowing you to run your own code inside the docker.


Common Errors
-----------------------
Q: When working in Windows environment you might encounter in this error during the build proccess.
```
anyway_1 | standard_init_linux.go:211: exec user process caused "no such file or directory"
```
A: The solution is very simple. You need to go to the docker-entrypoint.sh file and save it as CRLF (encoding of new line in Windows) instead of LF (encoding of new line in Linux).
In VS code just open the file and choose CLRF at the button right of the screen, for other IDEs check online for instructions.


Questions and ideas
-----------------
Talk to Atalya on ANYWAY's Slack (atalya) or email us [anyway@anyway.co.il](mailto:anyway@anyway.co.il).
Expand Down

0 comments on commit 2fb9a1e

Please sign in to comment.