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