Merge pull request #10175 from fossilet/patch-1
Add usage of port mapping for Boot2docker. Upstream-commit: e08858a80dfd1d947a7cba5031febb6868256195 Component: engine
This commit is contained in:
@ -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/).
|
||||
|
||||
Reference in New Issue
Block a user