mirror of https://github.com/docker/docs.git
commit
bc8d618cde
|
@ -167,8 +167,8 @@ To test your app, get the the port of your app that Docker mapped:
|
||||||
$ sudo docker ps
|
$ sudo docker ps
|
||||||
|
|
||||||
# Example
|
# Example
|
||||||
ID IMAGE COMMAND ... PORTS
|
ID IMAGE COMMAND ... PORTS
|
||||||
ecce33b30ebf gasi/centos-node-hello:latest node /src/index.js 49160->8080
|
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`.
|
In the example above, Docker mapped the `8080` port of the container to `49160`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue