Docker for Windows 中“executable file not found”和“no such file”问题
引子
昨天收到一封读者来信,他参考“使用Docker Compose部署Redis集群“一文,在Windows环境中执行 docker-compose up 命令时遇到了下面的问题
ERROR: for sentinel Cannot start service sentinel: oci runtime error: container_linux.go:247: starting container proces
s caused "exec: \"sentinel-entrypoint.sh\": executable file not found in $PATH"
其中“sentinel”容器的 Dockerfile 如下,
FROM redis:3
MAINTAINER Li Yi <denverdino@gmail
