docker操作nginx
docker run -d -p 8080:80 hub.c.163.com/library/nginx成功后,
netstat -na|grep 8080查看,8080端口并没有被监听,这是怎么回事,浏览器访问http://localhost:8080/也连接不上,
CONTAINER ID IMAGE COMMAND CREATED STAT
US PORTS NAMES
ad436cc6bbe7 hub.c.163.com/library/nginx "nginx -g 'daemon ..." About a minute ago Up 5
seconds 0.0.0.0:8080->80/tcp romantic_kalam
Administrator@PC-20161022HKJU MINGW64 ~
$ netstat -na|grep 8080