Error after starting the container "red"
rockstar2020 opened this issue · comments
Hello,
After completing all steps of the process successfully I got the following error message right after I start the container "red".
Error response from daemon: OCI runtime create failed: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"/var/docker/red/.env\" to rootfs \"/var/lib/docker/overlay2/65868b989008a78e479f18e2f10efa4249eb04a7734a2113a6a428fd6dddc4ab/merged\" at \"/var/lib/docker/overlay2/65868b989008a78e479f18e2f10efa4249eb04a7734a2113a6a428fd6dddc4ab/merged/usr/src/app/.env\" 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
Error: failed to start containers: red
Any idea what causes it?
I'm pretty sure .env file exists in /var/docker/red folder based on the template provided.
Thanks in advance for your help