dockerfile / nginx

Nginx Dockerfile for trusted automated Docker builds.
http://dockerfile.github.io/#/nginx
MIT License
479 stars 537 forks source link

debian 8.2 problem #26

Open ghost opened 9 years ago

ghost commented 9 years ago

debian 8.2 x64, docker 1.9.x

docker run --name nginx -p 8080:80 -v $PWD:/usr/share/nginx/html -d nginx
docker inspect nginx

so I get IP - 172.17.0.3

curl 172.17.0.3

give error

url: (7) Failed to connect to 172.17.0.3 port 80: Connection refused

I try sudo service networking restart - doesn't works.

Can you help?