1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-15 18:57:28 +08:00

Give a good name for the nat rule

This commit is contained in:
Jonathan Leibiusky @xetorthio 2016-11-18 10:02:32 -03:00
parent c2ec79584f
commit 47d4ceab84

View File

@ -11,7 +11,7 @@ prepare:
# Adds the host GOPATH as a shared folder in the box
-VBoxManage sharedfolder add pwd --name gopathsrc --hostpath ${GOPATH}src --automount
# Do port forwaring so we can reach the app using localhost:3000
-VBoxManage modifyvm pwd --natpf1 "nameformapping,tcp,,3000,,3000"
-VBoxManage modifyvm pwd --natpf1 "localhost,tcp,,3000,,3000"
# Starts the virtual box instance
start: