Issue:
Cannot mount a volume on windows 10 in running docker container.
Error: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"-e\": executable file not found in $PATH": unknown.
Additional Info: In my docker settings i turned on my c drive as shared drive so I don't get the windows 10 prompt to share the folder. Before i did this it would prompt and then just hang in the container not starting.
- C drive is set to be shared in windows properties.
- I am running docker as admin.
- terminal i execute command as is in admin.
Docker Command:
docker run -v C:/myfolder/app-prop/:/prop -p 8080:8080 trogdorContainer -e envprop=/prop/trogdor.properties