Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker compose fails on windows due to "/" and "\" differences in paths #514

Open
KarolisCremers opened this issue Mar 7, 2024 · 1 comment

Comments

@KarolisCremers
Copy link

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
Copy link
Contributor

kburger commented Mar 7, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants