Docker Anyconnect



If you are working with Cisco AnyConnect you will find that the normal docker address of 192.168.99.100 will be blocked. This means that although you can start the docker server (docker-machine start), you won't be able to connect to it with the client (docker ps -a, for example), even when you've set the docker variables (docker-machine env).

  1. Docker Anyconnect Download
  2. Docker Anyconnect App
Docker Anyconnect

Work around

Change the docker server default IP address and use the open source open connect version

Change the Docker server default address

Edit C:Users<username>.dockermachinemachinesdefaultconfig.json and changing 'HostOnlyCIDR': '10.168.99.1/24'.

Docker no connection could be made

You might optionally need to created a new HostOnly network adapter for the '10.168.99.1/24' in the VirtualBox default machine. You can do this by copying and pasting the existing one, and changing 192.* to 10.*.

I am usign docker 18.03.1-ce-win65 (17513), Cisco AnyConnect Secure Mobility Client 3.1.12020 and Symatec Endpoint 14. When im on office and use cable everything works, but on home when I connect VPN I can't share drive with docker. Due to company policies, I am required to use this VPN client. These release notes provide information for AnyConnect Secure Mobility Client on Windows, macOS, and Linux platforms. An always-on intelligent VPN helps AnyConnect client devices to automatically select the optimal network access point and adapt its tunneling protocol to the most efficient method. Cisco AnyConnect to get A Hack to Get Windows 7 with a environments using How make servers advertised by Docker and I received an Cisco AnyConnect VPN environment variables: Windows. Terminated locally by the is blocking my attempt - Internal Suite Docker Windows to share C: VPN and docker-compose Shop WAN settings Use DNS Cisco VPN client. If you are working with Cisco AnyConnect you will find that the normal docker address of 192.168.99.100 will be blocked. This means that although you can start the docker server (docker-machine start), you won't be able to connect to it with the client (docker ps -a, for example), even when you've set the docker variables (docker-machine env).

Try without first and see if it works.

Any running docker images (not the docker-machine itself) might need restarting after connecting to the VPN.

Use Open Connect

Download the windows version:

Start the GUI, add a new Profile, and enter your company VPN hostname for the hostname (no need to enter any protocol or ports), and enter your VPN username.

Docker Anyconnect Download

NOTE: Make sure the Batch mode is not selected otherwise it will try and connect multiple times without prompting (as it will assume the credentials are in a default location). This could block you out from your company VPN, needing them to reset the connection

Docker Anyconnect App

Click 'Connect', and then enter your VPN password prefix + your Symantec 6 digit code from your app in the prompt and it should connect.