docker run -d --restart always --network host \
-v /usr/local/nginx/conf/:/usr/local/nginx/conf/ \
-v /usr/local/nginx/html/:/usr/local/nginx/html/ \
--name nginx hythzx/nginx:centos7
# or
docker run -d --restart always --network host \
-v /usr/local/nginx/conf/:/usr/local/nginx/conf/ \
-v /usr/local/nginx/html/:/usr/local/nginx/html/ \
--name nginx hythzx/nginx:alpine
Content type
Image
Digest
Size
195.9 MB
Last updated
almost 7 years ago
docker pull hythzx/nginx