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

前端 未结 11 1011
清歌不尽
清歌不尽 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:33

    Another reason this error comes up is if your Windows User password changes.

    In my case my entrypoint.sh line endings were LF but I was still getting the error. Our admin has a mandatory password reset about every month or so. Whenever this happens I would run into the error. If this is your reason you may need to reset your credentials in docker settings under "Shared Drives".

    Unselect the drive and apply. Then reselect the drive and apply. It will prompt you for your password.

提交回复
热议问题