Skip to content

Einsteinish/docker-nginx-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published