-
Notifications
You must be signed in to change notification settings - Fork 289
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
WorkingDir of subdir of a volume mount is not found by Python's os.getcwd() #5698
Comments
I think this might be a variant of #5550 ? |
I wasn’t able to reproduce it by the way, does it occur every time for you? |
Yep, every time. OK, I'll have a go of the private version tomorrow. |
@mat007 thanks, the issue with fs is fixed. edited: |
I briefly experienced this same error in Docker for Mac 2.2.0.0. I discovered it when random things with Python's pathlib were failing such as running Closing vscode and starting again somehow resolved the error for now? |
This appears to be fixed for me in v2.2.0.3 (42716) - thank you very much all devs! |
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
Running
python -c "import os; os.getcwd()"
should succeedActual behavior
Same problem when running
os.getcwd()
from within a script.Information
I am running docker desktop 2.2.0.0 (42247), engine 19.03.5
It is not present in docker desktop 2.1.0.3, engine 19.03.2
Windows: 1909 (18363.628), not virtualised
Steps to reproduce the behavior
Dockerfile
Run in cmd:
The text was updated successfully, but these errors were encountered: