Closed jhagege closed 6 years ago
I think I found the issue: port defined in the Go code is 8888.
Thanks for posting the issue @jhagege!
This example is fixed in a newer version of the book draft, but I don't think it was updated on the early release download site.
We actually updated the example to be ... -p 9999:8888 ...
because some folks already had processes running on 8080, and also thought it would be helpful to show that the host port can actually be different from the container port.
Thanks again and let us know if you have any questions or find any other issues.
Hi guys, Looks like an amazing book ! I've been trying to launch the
docker run -d -p 8080:8080 --name hello cloudnatived/demo:hello
command and then access http://localhost:8080 but I get the following error:Any idea ? Thanks !