Created
March 1, 2014 00:57
-
-
Save chrisabrams/9283069 to your computer and use it in GitHub Desktop.
boot2docker forward port
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
b2dforwardport() { | |
VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcp-port$1,tcp,,$1,,$1"; | |
VBoxManage modifyvm "boot2docker-vm" --natpf1 "udp-port$1,udp,,$1,,$1"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment