Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

<p><em>Thank you for using nginx.</em></p>
</body>
</html>


6- mapping the /usr/share/nginx/html/ directory in the container to the /srv/www  directory in the host

sudo docker run --name our-nginx -v /srv/www:/usr/share/nginx/html:ro -d nginx