Docker deletes Window's SMB share and blames firewall for no connection
Expected behavior
I am able to start docker with a shared local drive. Under "Shared Drives" when I click the check next to the "C" and press "Apply" I enter my password, the checkbox remains green, and I am able to build my containers.
Actual behavior
I enter my password, the check box becomes empty and the drive is not shared, and he windows share is removed as well. I am alerted with a message telling me the firewall blocked the connection.
My firewall is configured correctly and this problem continues to happen with the firewall disabled completely.
Information
- Diagnostic ID: C1150827-0FCC-4C96-8AB9-ACDFB51E1A1D/2017-04-13_09-16-07
- log.txt
- :

Steps to reproduce the behavior
I have determined that it is a SMB authentication issue:
- Browse to drive C in explorer.
- Right click drive C and select properties -> Sharing.
- Remove everyone and add my user with all full privileges.
- Browse network and notices that my drive is shared.
- Switch to Docker and attempt to mark drive C shared.
- Enter password when prompted by dialog.
- I authenticate successfully.
- The green checkbox becomes empty.
- My C drive is no longer shared in explorer.
Similar to #466
I was having similar issues and had almost given up trying to resolve, until i found this:
https://github.com/docker/for-win/issues/313
Not sure if it will help anyone here but following totomakers instructions at the bottom solved my issues.
I have the same issue as this issue is reporting. I've uploaded diagnotics with id 5DF94002-2A09-4318-A1BB-89B29F98B3A5/2017-05-16_07-30-40.
My firewall is opened as follows (rule created by Docker installation):
C:\Users\yooak> netsh advfirewall firewall show rule name=DockerSmbMount
Rule Name: DockerSmbMount
----------------------------------------------------------------------
Enabled: Yes
Direction: In
Profiles: Domain,Private,Public
Grouping:
LocalIP: 10.0.75.1/32
RemoteIP: 10.0.75.2/32
Protocol: TCP
LocalPort: 445
RemotePort: Any
Edge traversal: No
Action: Allow
Ok.
I've just read issue #313 and tried. But that did not help me. So I am not able to use Shared Drives in Windows 10 with Docker at the moment.
One thing to note; I have enabled developer mode in Windows 10. And I have also installed the "Bash on Ubuntu on Windows" subsystem. Could this cause conflicts?
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
If this issue is safe to close now please do so.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale
Thanks @docker-desktop-robot! I actually needed help on this issue tho.
/remove-lifecycle stale
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