Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Local security policy prevents sharing drive in Docker for Windows #98
Docker can mount shared drives.
Docker cannot mount shared drives because a local security policy prevents the command "net use":
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.
Steps to reproduce the behavior
@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.