You must have Docker >= 1.5.
You can bind ports :
You can mount directories :
# pull (auto) and run
docker run \
-d \
--name nginx \
-p 80:80 \
-p 443:443 \
-v /opt/docker/nginx/vhost:/etc/nginx/sites-enabled \
-v /opt/docker/nginx/logs:/var/log/nginx \
-v /opt/docker/nginx/code:/var/www \
monsieurchico/nginx
Content type
Image
Digest
sha256:f117e45bf…
Size
83.5 MB
Last updated
almost 11 years ago
docker pull monsieurchico/nginx