docker部署nginx小记

docker pull nginx
docker run -p 80:80 --name mynginx -v $PWD/www:/www  -v $PWD/logs:/wwwlogs  -v $PWD/conf:/etc/nginx/conf.d -d nginx 
docker run -p 81:80 --name mynginx -v $PWD/www:/www  -v $PWD/logs:/wwwlogs  -v $PWD/conf:/etc/nginx/conf.d -d nginx 
    原文作者:Prasanta
    原文地址: https://segmentfault.com/a/1190000006950850
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞