1
0
mirror of https://github.com/docker/docs.git synced 2026-10-28 07:15:09 +03:00

adds port 4000

In the docker-compose file, the ports sections maps host port 4000 to container port 80, so if we want to see our app in a browser we should check on port 4000.
This commit is contained in:
Lee Gaines
2018-06-16 19:46:43 -07:00
committed by Joao Fernandes
parent 32233d8dd7
commit 3a1023d66b

View File

@@ -158,7 +158,7 @@ is not filtered by service:
docker container ls -q
```
You can run `curl -4 http://localhost` several times in a row, or go to that URL in
You can run `curl -4 http://localhost:4000` several times in a row, or go to that URL in
your browser and hit refresh a few times.
![Hello World in browser](images/app80-in-browser.png)