1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Add usage of port mapping for Boot2docker.

Signed-off-by: Yongzhi Pan <panyongzhi@gmail.com>
This commit is contained in:
Yongzhi Pan 2015-01-19 16:15:27 +08:00
parent 467b7c8213
commit 9dc2d0b8a3

View file

@ -181,6 +181,11 @@ Now you can call your app using `curl` (install if needed via:
Hello world
If you use Boot2docker on OS X, the port is actually mapped to the Docker host VM,
and you should use the following command:
$ curl $(boot2docker ip):49160
We hope this tutorial helped you get up and running with Node.js and
CentOS on Docker. You can get the full source code at
[https://github.com/enokd/docker-node-hello/](https://github.com/enokd/docker-node-hello/).