Welcome to Our Sample Application

Basic Questions

Challenge your knowledge of the University of Michigan's history here.

Useful Links & Documentation

  1. Docker Hub contains an amazing number of pre-built images
  2. This github repo contains tutorials for several languages.
  3. Kubernetes is a system which provides health checks, auto-scaling and internal networking for docker containers.
  4. The documentation center at Docker's website provides links to docker commands and installation guides.
  5. Docker containers can be run in the cloud in several locations. One of them is Amazon's ECS.

Application Health & Other Information

  1. Application health can be monitored at this url.
  2. The container/pod name is: openshift-python-sample-54cdf757c-gj2xn
  3. The full list of headers sent to a subsequent request can be viewed here.
  4. The value of /app/folder/file.txt can be viewed here.

Useful Commands

# Build from a dockerfile in the local directory.
$ docker build -t {your-docker-tag-name} .

# Build from a dockerfile in a github repository.
$ docker build -t {your-docker-tag-name} https://github.com/chriskretler/openshift-python-sample

# Run the nginx container from docker hub with port 80 exposed on your local computer.
$ docker run -p 80:80 nginx

# Run your docker container
$ docker run -p 80:80 {your-docker-tag-name}

# List all of your running containers
$ docker ps

# List all images in your current registry
$ docker images