-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Git Bash problem with path when creating mount #187
Comments
Suggested fix for issue carpentries-incubator#187
Thanks for this @K-C-Martin. The issue with git bash is already noted in the setup.md file and it also gives people a workaround:
We could add a callout with this information again in the lessons to remind people if you think this would be useful. |
Hi @aturner-epcc - I did try adding an extra |
See the following series of attempts:
|
Ah - I'm pretty sure I tried prepending p.s. it may take me a while to run this check - I've managed to break the machine I had got Docker running on. p.p.s. in the meantime, let me say 'thank you' for this material: really, really appreciated having such a clear, practical walkthrough. |
Lesson: Advanced Containers
Permalink: https://github.com/carpentries-incubator/docker-introduction/blob/0aed5fb0263e779cf807bd649fe6f9ce626d0407/_episodes/advanced-containers.md
I'm using Git Bash on Windows 10 Enterprise.
When I try to run the following (following the Advanced Containers lesson):
docker container run --mount type=bind,source=${PWD},target=/temp alpine-python python3 /temp/sum.py
... I get the following error:
python3: can't open file '//C:/Program Files/Git/temp/sum.py': [Errno 2] No such file or directory
Prepending a
/
as suggested in the Setup (/${PWD}
) doesn't fix the problem, but running the following first does:export MSYS_NO_PATHCONV=1
The text was updated successfully, but these errors were encountered: