Docker Official Images Simplest trial docker pull nginx docker run --name some-nginx -p 8080:80 -v html:/usr/share/nginx/html:ro -d nginx Using Dockerfile (preferred, cleaner) Create a Dockerfile (e.g. on working directory c:\Users\itangusc\dev FROM nginx COPY html /usr/share/nginx/html Create html in c:\Users\itangusc\dev, and create a index.html (e.g.) into html <html> <body> <h1>Hello Ngnix!</h> <h2>This is the first Nginx web server I build</h2> </body> </html> Run docker build -t some-content-nginx . on working directoy Start the container by docker run --name some-nginx -d some-content-nginx