Fork me on GitHub

docker: Error response from daemon: OCI runtime create failed

docker运行发生错误

 
docker: Error response from daemon:
OCI runtime create failed: container_linux.go:380:
starting container process caused: exec: "docker-entrypoint.sh":
executable file not found in $PATH: unknown.
 
修改dockerfile
 
解决办法:
1、更改文件权限
dockerfile 添加 RUN chmod +x docker-entrypoint.sh
2、重新build镜像
# docker build -t postgres:v9.4.5
posted @ 2021-11-15 19:26  爱悟空  阅读(2279)  评论(0编辑  收藏  举报