-
Notifications
You must be signed in to change notification settings - Fork 291
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
Error: A firewall is blocking file Sharing between Windows and the containers #355
Comments
Do you have any 3rd party security software(example, f-secure) installed on your system? If so, you need to open firewall with security software |
I got this issue and it was coming from my cisco vpn. Once I disabled the VPN I could share just fine but now I don't have access to the databases I need.... |
The only firewall on my computer is the generic Windows Firewall for
Windows 10. I see only one inbound rule in allowing port 445 from local
address 10.0.75.1 to remote address 10.0.75.2.
I still get the same error when I disable windows firewall. I am not sure
what else to do.
…On Wed, Dec 28, 2016 at 12:11 PM, John Bench ***@***.***> wrote:
I got this issue and it was coming from my cisco vpn. Once I disabled the
VPN I could share just fine but now I don't have access to the databases I
need....
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#355 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABvKQkNtffSDHwL-GQYrn8Ttw8CAAyQLks5rMsKKgaJpZM4LVWKk>
.
|
@simonferquel do you have time to look at @medhatelmasry dump? |
@medhatelmasry I see that you are using an insider preview of Windows. Unfortunately in latest build there seem to have a bug with Samba sharing preventing drive sharing with the linux VM to work. We don't have any workaround for now (except reverting to Windows 14393) |
Simon,
Thanks for finding out the root of the problem. I will need to wait until
this is fixed with subsequent windows insider releases.
Medhat
…On Jan 5, 2017 5:00 AM, "Simon Ferquel" ***@***.***> wrote:
@medhatelmasry <https://github.com/medhatelmasry> I see that you are
using an insider preview of Windows. Unfortunately in latest build there
seem to have a bug with Samba sharing preventing drive sharing with the
linux VM to work.
We don't have any workaround for now (except reverting to Windows 14393)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#355 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABvKQrWhBXuJHpR_XVfmBNjADaa-uqM0ks5rPOlggaJpZM4LVWKk>
.
|
@simonferquel, I don't think there is a bug in Windows. It used to work for me (and still works on another PC with the most recent insider release), but then I had to reset the settings of Docker, after that it stopped working. |
@denisvmedia there was a bug before 15002 with remote access in general (not only Samba File sharing, but also with RDP). I don't know if it did hit everyone though and I suppose Microsoft fixed that in 15002. |
@simonferquel unfortunately, I don't know, but what really surprises me that this stopped working only after I did the reset in Docker. So even if there is a bug in Windows, there must be a workaround - otherwise how could it work before? (and still works on another PC) I'd be happy to find it... If I can help anyhow, I'm open for that, because currently my work is completely stopped due to this issue :( Update: As of RDP - it works for me right now - I'm writing this from an external network on my Desktop through RDP. |
I solved it! Now it works again. I found a comment of @gorbunovav in #114, it worked for me:
|
I see this issue in Win10 Insider build 15007. Just submitted feedback to MS about this since it had been fixed in a prev. (way older, might have been 14393) Insider build. Currently updating to 15014. |
Volume mapping is working again in Win10 Insider build 15014. |
@johnrb2 - did you ever figure this out with Cisco VPN? My team are all using a docker container for development and it's made WFH really annoying. Thoughts? Thanks, Phillip |
Markdown seems to have eaten the solution @denisvmedia posted. In a file explorer, go to: |
@philsown yeah I just had to change the address in network settings to 192.168.x.x since the VPN was already using the 10.0 ones. |
@philsown there is another thread regarding the Cisco VPN that my solution didn't work for @sugun999 he or she could use some help. |
On issue #360 |
I had same issue and I just solved it. |
@absalan When I share my C: drive manually thorugh the advanced sharing settings and then try to activate in the docker settings, I get the notification that firewall is blocking, which it is not (#466) and after that the C: drive is not shared anymore. |
@sthuber90 that's interesting. If you don't enable sharing in the Advanced Settings does it work? Also, how do you enable it? There are several options in the menu. Could you maybe share a screenshot? |
@sthuber90 Try to share another drive. windows does have some policy for windows drive and that's why it's preventing you from sharing drive C. |
@absalan The computer is work on is a corporate one and only has a C drive, otherwise I would have tested sharing an other drive.
Even though it says that the firwall is blocking this cannot be the case, as mentioned here. |
This has got nothing to do with suspected policies for the C drive. I just tried to share D and got the same results: |
This problem can be happen If you are using Windows 10 Enterprise. The Group Policy in System Center / Active Directory can blocking the port 445. The System Administrator needs permit this port to your user/ip. Releasing the door in Windows Firewall Local does not make effect. |
@simonferquel What can I say? :) Back then I was using Divio's app but days have come and gone by and I'm using docker compose now when I have to resort to docker which I find much better and much more flexible for my workflow and usage cases (at least for me). Also, without that workaround I couldn't use docker in any way so it was a necessary evil (but can't recall the details since it's been a long time). |
I've read all this and a couple of other topics and tried everything written there. The only thing that finally worked for me was switch to Docker Edge version: Client: Server: |
Sounds weird, but the solution offered by @juhap worked for me. Seems more like a Windows 10 glitch that has nothing to do with Docker. |
cleaning/closing old issues. |
People having this issue with Cisco's VPN software... did you come up with any workarounds? Seems that the only way for corporate users to work from home is to give up the VPN :/ |
@avindra To get docker to work with a Cisco VPN, I had to go into Docker -> Settings -> Network and change the Internal Virtual Switch settings. For Example: |
The Cisco VPN policy settings blocked any local traffic - it basically sends it all through the VPN - though I switched over to OpenConnect and it allows local traffic which allowed docker to work for me. Hope this helps someone. |
Does it have anything to do with severe restriction (and complete default removal) on using SMB v.1.0 which is regarded ATM as highly vulnerable, thus deprecated and disabled by default in newest Win10 updates? Struggled with this when lost connection to my local NAS, maybe that's just another chapter of the same story? |
In my case, the problem appears to be that our domain policy forces the firewall to be enabled on the Private and Public profiles (disables it for the DomainAuthenticated profile). Even though I have the proper ports enabled on those profiles, it still is blocked. Turning off the Firewall service allows the drives to be mapped, so it's definitely a firewall/security policy issue. I can reach port 445 on the Docker interface (I've remapped to 192.168.0.1 because our network uses the 10.* network). I'm running Windows 10 1803, which of course has the issue where you cannot uninstall file and printer sharing. So that workaround is not possible. |
For anyone with Cisco VPN issue, follow this guide: #360 (comment) |
Norton smart firewall was the problem for me. Worked fine after disabling it. |
check if there is a forbid rules for 445. |
I found this, and re-review my the Windows Firewall Settings, and do find a rule which is blocked the 445 port, I enable it, and now it works. Thanks @DashAce10 ! I've spent a lot of time on the issue before it is settled. Beautiful! So I do suggest you to check your Firewall Rules carefully around the port 445. Wish you good luck! |
In my case, Nothing worked with the given suggestions. Please make sure you do clean Uninstall as mentioned in first step even from system registries. |
@mara8008 A reboot should be enough when Check Point is misbehaving. I've had problems in the past with it enforcing firewall rules even when I'm not connected anymore, even after shutting down the Check Point service (because it uses a driver-based firewall). So the only way to reset those rules is to reboot. |
Thank you @efunkenbusch! I tried over a dozen different things and none of them worked, but changing Docker => Settings => Network => Subnet Address to 192.168.0.0 worked! (My company also uses 10...* for internal addresses) |
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
I am using Docker for windows 10 with a Linux container. I am unable to share a drive. I get a firewall error when I do so similar to case #345. This was working OK until I reset my credentials and it stopped working.
Actual behavior
When I try to share any drive I get error:
A firewall is blocking file Sharing between Windows and the containers. See documentation for more info.
Information
Diagnostic ID is
1ED2444F-86D2-400A-A2AC-165C6FA6599A/2016-12-24_21-28-25
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: