mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Fix remote build instructions
This commit is contained in:
parent
0dc983a4c0
commit
e12f922101
@ -82,10 +82,10 @@ docker-machine create \
|
|||||||
eval $(docker-machine env ${KUBE_BUILD_VM})
|
eval $(docker-machine env ${KUBE_BUILD_VM})
|
||||||
|
|
||||||
# Pin down the port that rsync will be exposed on on the remote machine
|
# Pin down the port that rsync will be exposed on on the remote machine
|
||||||
export KUBE_RSYNC_PORT=8370
|
export KUBE_RSYNC_PORT=8730
|
||||||
|
|
||||||
# forward local 8730 to that machine so that rsync works
|
# forward local 8730 to that machine so that rsync works
|
||||||
docker-machine ssh ${KUBE_BUILD_VM} -L ${KUBE_RSYNC_PORT}:localhost:8730 -N &
|
docker-machine ssh ${KUBE_BUILD_VM} -L ${KUBE_RSYNC_PORT}:localhost:${KUBE_RSYNC_PORT} -N &
|
||||||
```
|
```
|
||||||
|
|
||||||
Look at `docker-machine stop`, `docker-machine start` and `docker-machine rm` to manage this VM.
|
Look at `docker-machine stop`, `docker-machine start` and `docker-machine rm` to manage this VM.
|
||||||
|
Loading…
Reference in New Issue
Block a user