This issue started to happen a few weeks ago and was not happening before. I’m experiencing this issue on two different PCs.
After connecting to VPN (Cisco AnyConnect 4.4.00243) Docker loses connection to all shared drives. Attempting to enable drive share again also fails. After disconnecting from VPN it is again possible to enable drive share.
Below are logs with an attempt to enable drive share:
I have had this problem as well. The problem appears to be that Docker for Windows uses Samba to share the volume over the network interface and Cisco Anyconnect routes all network traffic through the VPN.
I would really like a solution that doesn’t require enabling split tunneling to some random private network address. Localhost should still be available with a running VPN.