This recipe will step you through the basics of setting up a simple NGINX container via Docker. When you see the simplicity of the installation, don't be fooled by how easy it is, as that's the point of Docker.
NGINX web server via Docker
Getting ready
If you're already running existing Docker containers, make sure they're either stopped or are not running on port 80. Otherwise, they will conflict with this recipe.
How to do it...
We'll start by pulling down the latest image of Docker. While this is an optional step, it will allow you to see how...