怎样制作一个Nginx镜像










5、build the dockerfile(编译Dockerfile)sudo docker build -t firstnginx -f docker/Dockerfile .




8、Verfiy the test1.html and test/test2.htmlOpen browserhttp://sys.beserp.com:8080/test1.htmlhttp://sys.beserp.com:8080/test/test2.htmlhere use your docker host ip address to replace sys.beserp.com打开浏览器验证test1.html, test/test2.html文件


9、The nginx container is working!!Nginx 运行起来了!