mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update nodejs_web_app.md
Docker-DCO-1.1-Signed-off-by: Hyeongkyu Lee <hyeongkyu.lee@navercorp.com> (github: leeplay)
This commit is contained in:
parent
425ab3da5e
commit
15ea1ca1f0
1 changed files with 2 additions and 2 deletions
|
@ -167,8 +167,8 @@ To test your app, get the the port of your app that Docker mapped:
|
|||
$ sudo docker ps
|
||||
|
||||
# Example
|
||||
ID IMAGE COMMAND ... PORTS
|
||||
ecce33b30ebf gasi/centos-node-hello:latest node /src/index.js 49160->8080
|
||||
ID IMAGE COMMAND ... PORTS
|
||||
ecce33b30ebf <your username>/centos-node-hello:latest node /src/index.js 49160->8080
|
||||
|
||||
In the example above, Docker mapped the `8080` port of the container to `49160`.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue