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

"Function not implemented" during create long path on mounted volume#6337

Closed
1 of 2 tasks
swojdyga opened this issue Apr 15, 2020 · 8 comments
Closed
1 of 2 tasks

"Function not implemented" during create long path on mounted volume #6337

swojdyga opened this issue Apr 15, 2020 · 8 comments

Comments

@swojdyga
Copy link

  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID:

Expected behavior

Creating a long path (e.g. nested directories) on mounted volume works without errors.

Actual behavior

Creating a long path throws error "Function not implemented".

Information

Steps to receive error:

  1. Run container: docker run -v ${pwd}:/app -it alpine.
  2. Go inside container: docker exec -it <container_id> /bin/sh
  3. Try create nested directories: mkdir /app/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/example-directory/ -p

Everything works great on Docker for Windows 2.1.x. Beginning from 2.2.x I have these issue.

Windows Version: 10 (1903)
Docker Desktop Version: 2.2.0.5

@mat007
Copy link
Member

mat007 commented Apr 15, 2020

Thanks for the report.
I believe it’s either a duplicate of #5955 or #5572, what do you think?

@swojdyga
Copy link
Author

Hmmm...

In https://github.com/docker/for-win/issues/5955 temporary soluction is restart Docker - in my case it doesn't help.

Issue https://github.com/docker/for-win/issues/5572 probably describe the same case, but... is closed :/

I think we'll know the truth when all these problems are fixed ;)

@djs55
Copy link

djs55 commented Apr 16, 2020

@swojdyga thanks for the report and the reproduction steps. I managed to reproduce a bug and have a candidate fix here: https://download-stage.docker.com/win/edge/44390/Docker%20Desktop%20Installer.exe . If you have time to test, could you let me know if it's any better? If not, could you upload a fresh set of diagnostics? Thanks!

@swojdyga
Copy link
Author

Looks like it works :)

I have no idea what is your conception is to close the issue - should it be close now or when version with this fix will be published?

@djs55
Copy link

djs55 commented Apr 16, 2020

@swojdyga thanks very much for letting me know and I'm glad the fix is working! We'll close this when the next release is published, which will happen soon. This ticket will be listed in the changelog. Thanks again for the report -- I'm still surprised our existing test cases didn't catch this... I need to do a bit more investigation to figure out why.

@ashersilver
Copy link

Restarting worked for me ... its can be very confusing I was editing in with two editors, VS Code on Windows and Eclipse on Docker Image running Linux. Copying code between Windows and Docker Linux seemed to be what "broke" Docker session. Was thinking it could be CR/LF vs LF issues not getting translated in the clipboard, or by the target editor, but I cant be sure...

@stephen-turner
Copy link
Contributor

Fixed in 2.3, closing this ticket.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

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.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jul 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants