Created
May 28, 2015 08:42
-
-
Save nfvs/c2bcdf4d533e1cbc87ee to your computer and use it in GitHub Desktop.
Fixes docker push when using Cisco AnyConnect
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
#!/usr/bin/env bash | |
boot2docker down | |
vboxmanage modifyvm "boot2docker-vm" --natpf1 "docker,tcp,127.0.0.1,2376,,2376" | |
boot2docker up | |
$(boot2docker shellinit) | |
export 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