Docker compose fails on windows due to "/" and "\" differences in paths
KarolisCremers opened this issue · 1 comments
KarolisCremers commented
What components are related to the issue?
Other (specify in text)
Which FDP are you using?
My local instance
Version
15, 16 and 17 have been tried.
What happened?
When running the docker-compose documented in the docs the compose fails due to some FDP system not using system independent pathing.
Is this a docker issue or a FDP issue? Thanks in advance!
Relevant log output
Attaching to blazegraph-1, fdp-1, fdp-client-1, mongo-1
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/run/desktop/mnt/host/c/Users/.../Desktop/Local FDP/application.yml" to rootfs at "/fdp/application.yml": mount /run/desktop/mnt/host/c/Users/.../Desktop/Local FDP/application.yml:/fdp/application.yml (via /proc/self/fd/6), flags: 0x5000: 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
kburger commented
Hi @KarolisCremers. Without any experience running this on windows, this seems to be a higher level issue. For reference, can you post the docker-compose.yml
file you are using?
And can you try things like settings some flags as described in docker/compose#4240 and report back?