Skip to content

Instantly share code, notes, and snippets.

@pperehozhih
Created October 20, 2016 11:44
Show Gist options
  • Save pperehozhih/597c0f4d1088f47b641e5e4cea95a41a to your computer and use it in GitHub Desktop.
Save pperehozhih/597c0f4d1088f47b641e5e4cea95a41a to your computer and use it in GitHub Desktop.
VBoxManage modifyvm "<docker vm name>" --natpf1 "tcp-port8080,tcp,,8080,,8080";
VBoxManage modifyvm "<docker vm name>" --natpf1 "udp-port8080,udp,,8080,,8080";
VBoxManage modifyvm "<docker vm name>" --natpf1 "tcp-port9933,tcp,,9933,,9933";
VBoxManage modifyvm "<docker vm name>" --natpf1 "udp-port9933,udp,,9933,,9933";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment