Error running docker container: starting container process caused “exec: \”python\“: executable file not found in $PATH”: unknown

前端 未结 1 1364
不思量自难忘°
不思量自难忘° 2021-01-05 05:15

I am trying to dockerize a simple Python-Flask application but I am getting an error while running my container.

docker: Error response from daemon: OCI runtime crea

相关标签:
1条回答
  • 2021-01-05 05:50

    There is no /usr/bin/python in a docker image built by the code above. But there is /usr/bin/python3. So you could either use python3 directly as your ENTRYPOINT or create a symlink.

    0 讨论(0)
提交回复
热议问题