Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

dockerfile nginx example

$ docker run --name mynginx2 --mount type=bind,source=/var/www,target=/usr/share/nginx/html,readonly --mount source=/var/nginx/conf,target=/etc/nginx/conf,readonly -p 80:80 -d nginx
Source by docs.nginx.com #
 
PREVIOUS NEXT
Tagged: #dockerfile #nginx
ADD COMMENT
Topic
Name
9+4 =