Docker Community Forums

Share and learn in the Docker community.

Unable to share drive when connected to VPN

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:

log.txt (28.0 KB)

I’ve been able to track this down to my organization’s VPN configuration. Were you able to find a solution for this?

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.