Skip to content

antonkovach/openshift-nginx-hello

This branch is up to date with shiwaforce/openshift-nginx-hello:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3e45a17 · Mar 2, 2019

History

7 Commits
Mar 1, 2019
Mar 2, 2019
Mar 1, 2019
Mar 2, 2019
Mar 1, 2019
Mar 1, 2019

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.

About

Non-root NGINX demo image for OpenShift

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 57.2%
  • Dockerfile 42.8%