-
问题描述
docker-compose up
创建容器出现问题:standard_init_linux.go:211: exec user process caused "no such file or directory" comtainer exited with code 1
容器创建后显示
STATUS
为exited
,并且无法start
。 -
原因解析
网络调查下来,大概有两个原因:
1.entrypoint启动脚本格式
yum install dos2unix dos2unix *.sh dos2unix Dockerfile
2.entrypoint启动脚本内容
检查脚本内容,是否存在调用了不存在的文件或目录
-
Reference
(20201114Solved)docker-compose出错standard_init_linux.go:211: exec user process caused “no such file
最新推荐文章于 2024-04-23 17:52:29 发布