[root@dyw219 newimg]# docker run -dit --name myweb -p 8080:80 centos/httpd:index 746d04d25165af01c933662c0519cd8e94fdc8c401b02824e8bd0409fa98d55d
[root@dyw219 newimg]# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 746d04d25165 centos/httpd:index "/bin/bash" 5 seconds ago Up 4 seconds 0.0.0.0:8080->80/tcp myweb
[root@dyw219 newimg]# curl http://127.0.0.1:8080 curl: (56) Failure when receiving data from the peer