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