-
Notifications
You must be signed in to change notification settings - Fork 286
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
Local security policy prevents sharing drive in Docker for Windows #98
Comments
@Wind-rider thank you for the detailed report. Unfortunately we rely on CIFS for shared volumes. Do you have a suggestion which would work in your environment? |
@Wind-rider @rneugeba next beta of Docker for Windows (maybe next week) does not rely on "net use" anymore. I hope it will help! |
@Wind-rider bet27 shipped a couple of hours ago. It would be great if you could retry |
Copying the error here for the record:
|
Same error for me since beta 27:
|
@andythorne @Wind-rider We added more fixed to Beta28. Could you try it? |
@dgageot unfortunately using beta28 doesn't help either. After trying to share my C-drive and clicking 'Apply' it asks for my credentials, tries for some time and then returns the GUI to the initial state - the C drive without a checkmark in front of it. Please find the updated diagnostics with id: |
This policy is quite self-explanatory and it is blocking remote File Sharing. D4W uses remote file Sharing (the Linux VM connects to the Samba port on the Windows host) to enable mounting Windows folders. If your administrators forbid remote file sharing (that is what does the policy), there is unfortunately nothing we can do to make it work. |
We should probably add this to the FAQ... cc @londoncalling |
closing due to inactivity. Please re-open if the this is still an issue if there is additional information |
See PR 648 on docker.github.io for docs updates to address this in troubleshooting for Docker for Windows docs. |
What happened to this thread? @dgageot the build I downloaded today (Docker for Windows) from Docker Hub still uses |
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
Docker can mount shared drives.
Actual behavior
Docker cannot mount shared drives because a local security policy prevents the command "net use":
net use \\<machinename>\c /user:<username> <password>
The security policy is "Access this computer from the network". This policy is restricted by my company to only specific usernames and therefore I cannot modify it (even though I am a local administrator).
When trying to share the drives using the Docker Settings GUI, the credentials dialog keeps popping up even though the specified credentials are valid and the user does have access rights to the complete disk.
Output:
Information
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: