-
Notifications
You must be signed in to change notification settings - Fork 18.6k
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
Absolute paths change with git bash on windows #24029
Comments
also it change dir when adding a data volume
running this command in power shell works fine find similar issue on stack overflow shell is mangling the file name according to these rules |
+1 $ winpty docker run -it -p 8065:80 -p 2262:22 drupal:7.50 /bin/bash $ docker version Server: COMMAND ... on Windows 10 Pro |
Getting the same error on Windows 10 Right now.
Works fine when using the normal Windows command prompt, just not with Git-Bash |
Yes, that's mingw trying to be smart, and converting paths. It's not a bug in Docker, but the way mingw handles these paths. Here is some more information about that "feature"; http://www.mingw.org/wiki/Posix_path_conversion. Prefixing the path with a double slash ( (but I'm not on Windows myself, so cannot check). |
Posted a workaround here: docker-archive/toolbox#673 |
using from git bash on win10 cause
and
docker ps -a
returnsseems like git bash change all dirs from root to local one, related to git bash installation
exec this command from power shell works well
The text was updated successfully, but these errors were encountered: