A firewall is blocking file Sharing between Windows and the containers. See documentation for more info
This error happened when I tried to share a drive with Docker for Windows 10. I right-clicked on the Docker whale icon in the tray and selected “Setting”. I then clicked on “Share Drives” on the left-side. When I tried to enable any of my existing drives and click on Apply, I got the above error.
My first inclination was to turn off the firewall. The only firewall I use is the built-in Windows Defender. I disabled networking so I do not get attached over the network, then I disabled the Windows Defender. That did not solve the problem. Since I had no idea what else to do, I posted a comment on the “Docker for Windows” Git Hub site.
The Fix:1. Share the C:, D:, E: … drive in File Explorer
2. Go into the properties of "vEthernet (DockerNAT)" network adapter and uninstall "File and Printer Sharing for Microsoft Networks". Install it again and make sure it is enabled.
I thank the “Docker For Windows” team on GitHub for helping me find a fix for this problem after only 18 days.
Post a Comment