Host: Windows 10 Enterprise, 64 bit, BUT I am logged in on a local admin account that appears to be completely disconnected from the workplace’s local network as far as I can tell (no network drives, printers, etc.)
Unable to share both local drives and thumbdrives.
A firewall is blocking file Sharing between Windows and the containers. See documentation for more info."
I have tried everything listed in the documentation, and a few pages of github community fixes since 2016.
So I’ve done a lot of things on the Firewall, network adapter (mostly restarting), and ports, nothing works.
Some have solved it by switching to edge version, but that was in 2017, surely those fixes would have made it into stable by now?
I’m at a loss for what else to try.
I just need to send some .py and .sh scripts into the docker, and copy-pasting straight up doesn’t work when VIM is active in the docker SSH terminal. Alternative suggestions also welcome
The problem is with the firewall, so I speak about the firewall product. In Kaspersky Internet Security for example I have to go to Protection–Firewall–Networks and there set the Network Type of 10.0.75.1/24 (vEthernet (DockerNAT)) to Trusted Network. You can expect that these settings get lost with every second update.
Docker on Windows runs in Hyper-V and in the first step the drives are mounted as CIFS mounts (Windows shares) into the VM. From there the individual folders are connected to the containers.
Oh. I’m not using any 3rd party firewall or antivirus, just default windows’ firewall and defender.
I’m almost 1000% sure that I’ve set the right allowances and permissions, but it did not help. With further searching, there used to be a solution where Windows Firewall can be entirely disabled for specific network adapters, e.g. the vEthernet (docker) adapter, but that ended with Win7 and does not exist anymore in Win10 (unless, perhaps through 3rd party Firewalls).
made sure my other network adapters are set to “Private” networks, and my vEthernet (docker) to “guest/other” networks,
disabled Firewall for all “guest/other” networks, AND
close docker and manually start it in Admin mode.
This finally allowed the C drive to be mounted without error messages. I will be testing if it’s fully functional shortly.
P.S. Do you guys see the “1. 2. 3.” on my ordered list? It’s just showing indents on my side.
So we have a same problem of “A firewall is blocking file Sharing between Windows and the containers”, But my IT team is not ready to open up firewall for “SMB File and printer sharing” option instead they are looking for docker processes which are trying to talk through the firewall and are blocked, So if anyone could suggests while we enable “SMB File and printer sharing” option, what processes docker is using to talk through the firewall to get access to host shared drive?