Docker Community Forums

Share and learn in the Docker community.

Docker Desktop Windows and VPN - no network connection inside container

I’m trying to use Docker on Windows while being connected to VPN.

When VPN is not connected, everything works OK.

But when I connect to our corporate VPN using Cisco AnyConnect client, network inside docker container is not working anymore:

docker run alpine ping www.google.com
ping: bad address 'www.google.com'

docker run alpine ping -c 5 216.58.204.36
PING 216.58.204.36 (216.58.204.36): 56 data bytes
--- 216.58.204.36 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss

How to fix this issue and make it work?

My setup is:

  • Windows 10 Version 1809 (OS Build 17763.1098)
  • Docker Desktop Community 2.2.0.4 (43472): Engine 19.03.8, Compose 1.25.4, Kubernetes 1.15.5, Notary 0.6.1, Credential Helper 0.6.3
  • Docker is in Windows containers mode with experimental features enabled (needed to run windows and linux images at the same time)
2 Likes

Steps to reproduce the behavior

  1. Connect to the VPN (I’m not sure which one it is, it’s the client’s VPN and I’m using the Pulse Secure client)
  2. Start docker-compose
  3. Log into a container
  4. Try to connect to one of the VPN network machine, using SSH, either by hostname or by IP
  5. Wait for the connection time out.

Admin
Apps4rent

I’m blocked with this issue too… Not sure what to do since new to all this.

1 Like

I’m faced with the same problem… but I am using my corporate VPN GlobalProtect by [Palo Alto Networks]

1 Like

Also seeing the same problem. I’m using a standard Windows 10 VPN (PPTP).

Is there somewhere someone can go for paid support? I see that people go for days without someone looking at this problem. This is not acceptable.

I’m having the same or similar issue. Did you manage to solve it. I’m using corporate vpn (Cisco AnyConnect Secure Mobility Client)

blocked with this issue too…

wow, this forum is really dead.