1、拉取镜像
2、部署容器
docker run -d --name nginx -p 3344:80 \-v /home/vvvv/docker/volumes/nginx/nginx.conf:/etc/nginx/nginx.conf \-v /home/vvvv/docker/volumes/nginx/html:/usr/share/nginx/html \-v /home/vvvv/docker/volumes/nginx/conf.d:/etc/nginx/conf.d --privileged=true nginx
配置文件
全局配置eventshttp {http 配置upstream xx {}server {listen 80;server_name localost}}

