Why won't my docker-entrypoint.sh execute?

前端 未结 11 1024
清歌不尽
清歌不尽 2021-01-31 08:02

My ENTRYPOINT script doesn\'t execute and throws standard_init_linux.go:175: exec user process caused \"no such file or directory\". Why so?

<
11条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-31 08:30

    Another possibility:

    Check that the file is not saved with Windows line endings (CRLF). If it is, save it with Unix line endings (LF) and it will be found.

提交回复
热议问题