自定义docker镜像报错
2019-06-30 本文已影响0人
ZMRWEGo
创建容器起不来,一直是restarting状态,查看容器的报错日志如下:
standard_init_linux.go:178: exec user process caused "no such file or directory"
standard_init_linux.go:178: exec user process caused "no such file or directory"
standard_init_linux.go:178: exec user process caused "no such file or directory"
原因是镜像的entrypoint设置的启动脚本格式是dos,在linux系统上用vi修改成unix格式即可