Last active
January 31, 2020 23:37
-
-
Save kevinhooke/d2eabbd402741ae728ef6ab2985dfddd to your computer and use it in GitHub Desktop.
Using Docker on Windows with Cisco AnyConnect VPN in non-split tunnel mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start docker before connecting vpn (to get local ip, eg 192.168.99.100) | |
After start, connect to VPN, then follow next steps: | |
From: https://github.com/boot2docker/boot2docker/issues/628 | |
Add port forwarding to the NAT'd adapter in VirtualBox, add: | |
docker: host=127.0.0.1 port=2367 guest ip=[blank] guest port=2376 | |
container port: 127.0.0.1, port=[the container exposed port to forward] guest ip=[blank], guest port[container port] | |
From https://www.iancollington.com/docker-and-cisco-anyconnect-vpn/ | |
In Docker Quickstart Terminal, to point to port forwarded Docker, and to turn off checking of SSL certs: | |
export DOCKER_HOST=tcp://127.0.0.1:2376 | |
alias docker='docker --tlsverify=false' | |
Alternatively, create a new docker-machine with tlsverify turned off: | |
docker-machine create -d virtualbox --engine-env DOCKER_TLS=no default | |
export DOCKER_HOST=tcp://127.0.0.1:2376 | |
docker-machine regenerate-certs | |
- now you should be able to run docker commands without adding the --tlsverify=false |
Try enabling virtualization through BIOS
Try enabling virtualization through BIOS
Regardless of whether h/w virtualization is enabled in BIOS, you can't run Hyper-V and start a VirtualBox VM with a 64bit guest running at the same time. @mithuns search for 'windows hyper-v running VirtualBox at the same time' or similar terms and you'll find solutions. Easiest answer, use one or the other, but not both at the same time
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any ideas on how to do this for my scenario ? Any help is greatly appreciated.