docker: executable file not found in $PATH

后端 未结 10 1066
刺人心
刺人心 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-28 02:38

    I found the same problem. I did the following:

    docker run -ti devops -v /tmp:/tmp /bin/bash
    

    When I change it to

    docker run -ti -v /tmp:/tmp devops /bin/bash
    

    it works fine.

提交回复
热议问题