Skip to content

shiwaforce/openshift-nginx-hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

NGINX running as webserver in a non-root docker container that serves a simple page containing the container's hostname, IP address and port Running in OpenShift Container Platform, OpenShift Online, and OpenShift dedicated requires that your container be able to run as a random non-admin userid.

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

Based on:

How to run:

$ docker run -P -d shiwaforce/openshift-nginx-hello

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

The images were created to be used as simple backends for various load balancing demos.