mirror of https://github.com/docker/docs.git
doc: clarify the description of NodeJS guides
This commit is contained in:
parent
654c0e613a
commit
8c5aeac4a3
|
@ -26,7 +26,7 @@ $ docker run node-docker
|
|||
|
||||
When you run this command, you’ll notice that you were not returned to the command prompt. This is because our application is a REST server and will run in a loop waiting for incoming requests without return control back to the OS until we stop the container.
|
||||
|
||||
Let’s make a GET request to the server using the curl command.
|
||||
Let’s open a new terminal then make a GET request to the server using the curl command.
|
||||
|
||||
```shell
|
||||
$ curl --request POST \
|
||||
|
@ -50,7 +50,7 @@ Start the container and expose port 8000 to port 8000 on the host.
|
|||
$ docker run --publish 8000:8000 node-docker
|
||||
```
|
||||
|
||||
Now let’s rerun the curl command from above.
|
||||
Now let’s rerun the curl command from above. Remember to open a new terminal.
|
||||
|
||||
```shell
|
||||
$ curl --request POST \
|
||||
|
|
Loading…
Reference in New Issue