docker: executable file not found in $PATH

后端 未结 10 1001
刺人心
刺人心 2020-11-28 02:02

I have a docker image which installs grunt, but when I try to run it, I get an error:

Error response from daemon: Cannot start container foo_1         


        
10条回答
  •  清酒与你
    2020-11-28 02:31

    There are several possible reasons for an error like this.

    In my case, it was due to the executable file (docker-entrypoint.sh from the Ghost blog Dockerfile) lacking the executable file mode after I'd downloaded it.

    Solution: chmod +x docker-entrypoint.sh

提交回复
热议问题