Skip to content

Commit 534450e

Browse files
committed
Add usage of port mapping for Boot2docker.
1 parent 83b8537 commit 534450e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ Node.js Hello World on CentOS using [docker][].
5252
# curl localhost:49163
5353

5454
It should print `Hello World` to the console.
55+
56+
If you use Boot2Docker on OS X, the port is actually mapped to the Docker host VM, and you should use the following command:
57+
58+
curl $(boot2docker ip):<port>
5559

5660
## Acknowledgements
5761

0 commit comments

Comments
 (0)