参考https://www.runoob.com/docker/docker-install-nginx.html
1、查找 Docker Hub 上的 nginx 镜像。
2、这里我们拉取官方的镜像。
[root@slaver4 ~]# docker pull nginx:1.17.1
等待下载完成后,我们就可以在本地镜像列表里查到 REPOSITORY 为 nginx 的镜像。
3、以下命令使用 NGINX 默认的配置来启动一个 Nginx 容器实例:
待续......
原文:https://www.cnblogs.com/biehongli/p/11139834.html