standard_init_linux.go:211: exec user process caused “exec format error”

前端 未结 4 1067
孤独总比滥情好
孤独总比滥情好 2020-12-29 18:58

I am building the Dockerfile for python script which will run in minikube windows 10 system below is my Dockerfile

Building the docker using the below command

4条回答
  •  死守一世寂寞
    2020-12-29 19:49

    Another two reasons could raise this issue if you run docker on Windows:

    • scripts line endings are not LF (linux)
    • scripts encoding should be utf-8 + BOM

提交回复
热议问题