treeder / tiny-golang-docker

Example repo for how to make a super small image for your golang app.
138 stars 18 forks source link

Blank page in localhost:8080 #1

Open iamken1204 opened 9 years ago

iamken1204 commented 9 years ago

Hi, Travis!
I am new to docker, appreciate for your tutorial.
After I ran docker run --rm -it -p 8080:8080 treeder/go-hello-http and open http://localhost:8080/, I got a blank page.
It occurred to me that the docker official site has mentioned DOCKER_HOST was not point to 0.0.0.0, then I ran docker-machine ip default and get a response 192.168.99.100.
And thus I can see hello world in 192.168.99.100:8080/.
Is this problem only happen in new version of docker(1.8.1)?

treeder commented 9 years ago

You're probably on a Mac?

iamken1204 commented 9 years ago

Yep, I use Mac.

treeder commented 9 years ago

That's why.

On Mon, Aug 24, 2015, 6:42 PM Kettan notifications@github.com wrote:

Yep, I use Mac.

— Reply to this email directly or view it on GitHub https://github.com/treeder/tiny-golang-docker/issues/1#issuecomment-134442556 .