Created
September 23, 2014 23:17
-
-
Save jingkaihe/f49fbeef83189bff6ad5 to your computer and use it in GitHub Desktop.
boot2docker must do.
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
for i in {49000..49900}; do | |
VBoxManage modifyvm "boot2docker-vm" --natpf1 "tcp-port$i,tcp,,$i,,$i"; | |
VBoxManage modifyvm "boot2docker-vm" --natpf1 "udp-port$i,udp,,$i,,$i"; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment