windows docker desktop环境,启动报错
Opened this issue · 0 comments
haotian2546 commented
Starting gods-pen-docker_nginx_1 ... error
ERROR: for gods-pen-docker_nginx_1 Cannot start service nginx: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_l
inux.go:58: mounting \\\"/nginx.conf\\\" to rootfs \\\"/var/lib/docker/overlay2/ccc11f51efdb345fa49076ea06d93302ffb29e1bc45c9ce214ff83e1adbe81e8/merged\\\" at \\\"/var/lib/docker/overlay2/ccc11f51efdb345f
a49076ea06d93302ffb29e1bc45c9ce214ff83e1adbe81e8/merged/etc/nginx/conf.d/default.conf\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check
if the specified host path exists and is the expected type