docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \\"/data/nginx/conf.d/default.conf\\" to rootfs \\"/var/lib/docker/overlay2/dbfa56036078d899c9dad1841da6d955f00deb58f35738fcdcd2352f7b09a573/merged\\" at \\"/var/lib/docker/overlay2/dbfa56036078d899c9dad1841da6d955f00deb58f35738fcdcd2352f7b09a573/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.
CodePudding user response:
Could not find mounted directory
CodePudding user response:
Seems to be mounted according to the error message path is wrong,
You'd better give out, you run the docker command or yaml to come out, it is better to find the problem