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

fix run-server.sh volume path in Cygwin #464

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

kevinAlbs
Copy link
Contributor

To fix an observed error running run-server.sh with a Cygwin shell:

/root/base-entrypoint.sh: line 10: cd: /root/drivers-evergreen-tools/.evergreen:
 No such file or directory

The error appears caused by the Unix-style path in the host path of the -v argument. This PR changes the host path to Windows-style.

Example before:

-v /cygdrive/c/code/drivers-evergreen-tools:/root/drivers-evergreen-tools

Example after:

-v C:\code\drivers-evergreen-tools:/root/drivers-evergreen-tools

https://docs.docker.com/reference/cli/docker/container/run/#volume notes:

On Windows, you must specify the paths using Windows-style path semantics.

@kevinAlbs kevinAlbs merged commit b0e2d57 into mongodb-labs:master Aug 5, 2024
17 of 48 checks passed
kevinAlbs added a commit to kevinAlbs/drivers-evergreen-tools that referenced this pull request Aug 5, 2024
adriandole pushed a commit to adriandole/drivers-evergreen-tools that referenced this pull request Oct 7, 2024
adriandole pushed a commit to adriandole/drivers-evergreen-tools that referenced this pull request Oct 7, 2024
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

Successfully merging this pull request may close these issues.

2 participants