docker安装nginx

docker run --name nginx -p 8081:8081 -v /home/data/nginx/nginx.conf:/etc/nginx/nginx.conf -v /home/data/web/:/home/data/web/ -v /home/data/nginx/logs/:/var/log/nginx/ -v /home/data/nginx/vhosts/:/etc/nginx/conf.d --privileged=true -d nginx
posted @ 2022-06-27 09:43  FinnYY  阅读(11)  评论(0编辑  收藏  举报