Created
May 29, 2015 14:22
-
-
Save tknerr/06247ce7ec1121566166 to your computer and use it in GitHub Desktop.
Set up port forwarding of boot2docker via localhost
This file contains 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
:: set up port forwarding to make the docker host work via our weird VPN, too | |
echo port-forwarding docker port 2376 via localhost... | |
VBoxManage controlvm "boot2docker-vm" natpf1 delete "tcp-port2376" >NUL 2>&1 | |
VBoxManage controlvm "boot2docker-vm" natpf1 "tcp-port2376,tcp,,2376,,2376" | |
set DOCKER_HOST=tcp://127.0.0.1:2376 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment