dcokee 安装 nginx

1,docker pull openresty/openresty

2, mkdir  /opt/local/openresty  等等文件夹

3,

docker run  --name="openresty" -p 80:80 -v /opt/local/openresty/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf:ro -v /opt/local/openresty/logs:/usr/local/openresty/nginx/logs   -v /opt/local/openresty/conf.d:/etc/nginx/conf.d -v /opt/local/openresty/html:/etc/nginx/html openresty/openresty

posted @ 2019-07-12 20:07  牛顿莱布尼茨公式  阅读(172)  评论(0编辑  收藏  举报