antlong / docker-nginx-hello-world

SIngle page docker nginx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-nginx-hello-world

Single page docker nginx

NGINX webserver that serves a simple page containing its hostname, IP address and port as wells as the request URI and the local time of the webserver.

The images are uploaded to Docker Hub -- https://hub.docker.com/r/dockerbogo/docker-nginx-hello-world/.

How to run:

$ docker run -p 8080:80 -d dockerbogo/docker-nginx-hello-world

Now, assuming we found out the IP address and the port that mapped to port 80 on the container, in a browser we can make a request to the webserver and get the page below:

hello_world

Reference: Docker & Kubernetes

About

SIngle page docker nginx


Languages

Language:HTML 94.2%Language:Dockerfile 5.8%