exec user process caused
drewwells opened this issue · comments
Drew Wells commented
I'm seeing this error for a dozen containers I tried.
docker run reviewdog/action-golangci-lint:v1.8
standard_init_linux.go:219: exec user process caused: no such file or directory
The error points to line endings from windows. Where is the dockerfile? I see a few branches, but it's not clear which one is being used to generate the docker images.
Qoda commented
I solve this today! so do it:
- goes to your dockerfile file
- find the "entrypoint" file: terminated with .sh
- open git bash
- goes to directory where entrypoint.sh is located
- write: dos2unix yourfile.sh