doc: clarify the docs

This commit is contained in:
Anh Tran
2021-03-21 22:40:01 +07:00
committed by GitHub
parent c2ff6bf292
commit 1ae0ec9d48

View File

@@ -24,7 +24,7 @@ $ docker run python-docker
After running this command, youll notice that you were not returned to the command prompt. This is because our application is a REST server and runs in a loop waiting for incoming requests without returning control back to the OS until we stop the container.
Lets make a `GET` request to the server using the `curl` command.
Lets open a new terminal then make a `GET` request to the server using the `curl` command.
```shell
$ curl localhost:8000
@@ -43,7 +43,7 @@ We did not specify a port when running the flask application in the container an
$ docker run --publish 8000:5000 python-docker
```
Now, lets rerun the curl command from above:
Now, lets rerun the curl command from above. Remember to open a new terminal.
```shell
$ curl localhost:8000