-
Notifications
You must be signed in to change notification settings - Fork 288
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
Cannot share one specific drive after updating to 2.2.0 #5567
Comments
Thanks for the report! For some reason I can’t access the diagnostic you uploaded (maybe the zip is very big, or you are behind a firewall which prevents the upload?), can you post a screenshot of the About box just to confirm your version ? |
Same issue with disk C. Diagnostics ID: 803549D7-10AE-4E97-968F-E92FEA5B9AE7/20200123131314 Added log file |
I still can’t access this new diagnostic… |
@mat007 I had a look at @vadim-danilchik logs: the credential prompt seem to appear whenever the mount operation fails. In lifecycle-server logs there is:
|
I have the exact same issue. Also after upgrading. I'm aware of the new Filesharing implementation. Not sure if related: In the previous version I had to manually set the "vEthernet (DockerNAT)" network to Private to circumvent firewall rules that were added (probably by a company-wide group policy). I did this by issuing this command: |
Possibly relevant info from the logs. Sorry for the Norwegian stack trace (I don't think I can influence this).
|
Im facing similar behaviour. |
Yes, that's what I understood from the changelog as well, which makes the dialog box even more confusing. I tried uploading diagnostics again. ID: 3AF31CA1-733A-4D1C-972E-46213C91A1AA/20200123125921 |
I'm having the same/similar problem since updating yesterday (windows 10). I've unshared, factory reset and reinstalled and I can now get the container to mount the shared drive, however when the container runs it sees the files on the first request (simple web server), but not on subsequent requests. If I shell into the running container and try to cat one of the files my shell session is terminated. If I unshare the drive then try to reshare it again I get that infinite "Enter filesystem credentials" dialog. Out of desperation I created a new local user in Windows with admin privileges and tried to use that account for the filesystem credentials, but same results. I'm dead in the water with this last update. Until there is a fix, is there a way to revert to the previous stable version? |
I reverted back to the previous version simply by uninstalling the current version and running the installer of the previous version. Download can be found on the release notes page: https://docs.docker.com/docker-for-windows/release-notes/ |
Which version did you revert back to? |
2.1.0.5, which is the most recent version before the new Filesharing implementation. Another possible workaround could be installing WSL 2, because I suspect this has to do with the VM Docker's running in (and the boundaries between it and the local filesystem). WSL 2 runs in a different kind of VM, possibly alleviating the issues. But this is just a wild guess. |
Perfect. Reverting back to that version worked like a charm. Thanks. |
Reverting to 2.1.0.5 worked for me too! Hopefully this is something that gets fixed soon so I don't have to lag too far behind. |
Thanks, we were able to reproduce the issue and are working on it! |
This issue broke sam local for me, reverting and eagerly awaiting a fix |
When will a fix be available for this? |
We’re hoping in about a week or so. |
Alright, and when will it hit the Edge channel? |
Likely another couple of weeks after that. |
We have a new private build that (we believe) fixes this bug. https://download-stage.docker.com/win/stable/42579/Docker%20Desktop%20Installer.exe. Please try it and let us know how you get on. |
@stephen-turner I have tested and can confirm that it is now working for me. Thanks! |
Somehow the unpatched version started working for me already. That would make me testing this version an unreliable source of information. Except for regressions, maybe. |
@stephen-turner looks like I may have spoken too soon :( I just spun up a completely new container and it cannot connect to the shared drive. When I tried re-sharing in the Docker Desktop settings I get a dialog that says 'Changing Shared Directories failed'. In the log I have the following: Mount C |
@mattallenuk do you still have the issue? Could you upload a diagnostic? |
@mat007 yes, still having the issue, have uploaded the diagnostic to id E2AFC3C2-D675-42A6-AC4C-A4DDEC823781/20200203114017 |
@mat007 from my testing the issue appears to come when creating a new container, older containers create in previous versions appear to work ok. I was using the previous version 2.1.0.5 and did an in-place upgrade. The new version was able to use the containers from 2.1.0.5 with no problem. However, to test I pruned docker and try to re-create the containers and this is when I saw the issue. |
@mattallenuk from you logs it seems your issue now is #5516 which was only partially fixed in the private 2.2.0.1 release (talk about bad luck!). |
I'm experiencing the exact same issue. Had to downgrade to 2.1.0.5 to get it to work again |
Same problem since update to 2.2.0. Diagnostics ID: 5CF5E67F-1F3C-4B89-9424-B80B21C65CCF/20200206102151 [11:21:50.433][NamedPipeServer ][Error ] Unable to execute engine/start: Se han producido uno o varios errores. en System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) For now I will downgrade to the previous version... |
We have just released 2.2.0.3, which fixes this issue, so closing this ticket. In case any Edge users are watching this ticket, it will be on the Edge channel tomorrow too. |
I'm running 2.2.0.3 and am having the same problem |
@ofer can you describe what you see, is it the same as the OP? |
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
All windows drives can be shared and are accessible from my docker containers.
Actual behavior
Since updating to 2.2.0, I can only share 4/5 of my drives...this would be fine if it wasn't the one drive that contains most of my docker files.
Whenever I try to mount the drive, this dialog box pops up:
Pressing "Save" makes the dialog box disappear for a second and then show up again. I have made sure that I'm entering the correct credentials (entering wrong user ID/password gives me an error message anyway).
My user account is the owner of the drive and has full access to it. I suppose I'll just move the files to another drive if this keeps happening, but I would like to find a solution for this issue.
Information
The text was updated successfully, but these errors were encountered: