mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-07-16 03:07:26 +08:00
Give a good name for the nat rule
This commit is contained in:
parent
c2ec79584f
commit
47d4ceab84
2
Makefile
2
Makefile
@ -11,7 +11,7 @@ prepare:
|
|||||||
# Adds the host GOPATH as a shared folder in the box
|
# Adds the host GOPATH as a shared folder in the box
|
||||||
-VBoxManage sharedfolder add pwd --name gopathsrc --hostpath ${GOPATH}src --automount
|
-VBoxManage sharedfolder add pwd --name gopathsrc --hostpath ${GOPATH}src --automount
|
||||||
# Do port forwaring so we can reach the app using localhost:3000
|
# 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
|
# Starts the virtual box instance
|
||||||
start:
|
start:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user