Openshift uses Image Streams to reference a Docker image. An image stream comprises one or more Docker images identified by tags. It presents a single virtual view of related images, similar to a Docker image repository, and may contain images from any of the following:

  1. Its own image repository in OpenShift’s integrated Docker Registry

  2. Other image streams

  3. Docker image repositories from external registries

The evident advantage of using Image Streams vs a standard Docker image is that OpenShift components such as builds and deployments can watch an image stream to receive notifications when new images are added and react by performing a build or a deployment. In other words, the Image Stream can let you decouple your application from a specific Docker Image.

Once started openshift, you should be able to find the available image streams with:

$ oc get is -n openshift
NAME         DOCKER REPO                            TAGS                         UPDATED
jenkins      latest,1,2                   6 minutes ago
mariadb      10.1,latest                  6 minutes ago
mongodb      latest,3.2,2.6 + 1 more...   6 minutes ago
mysql        latest,5.6,5.5               6 minutes ago
nodejs       0.10,4,latest                6 minutes ago
perl         latest,5.20,5.16             6 minutes ago
php          latest,5.6,5.5               6 minutes ago
postgresql   latest,9.5,9.4 + 1 more...   7 minutes ago
python       3.4,3.3,2.7 + 2 more...      5 minutes ago
redis        latest,3.2                   3 minutes ago
ruby         latest,2.3,2.2 + 1 more...   5 minutes ago
wildfly      10.1,10.0,9.0 + 2 more...    3 minutes ago

This is the default set of images you should be able to use when you start Openshift origin. What happens if for some reasons you are not able to see all the above image streams, for example in case you have accidentally deleted one of them ? That's not a big issue, perform the following actions:

Login in as administrator:

$ oc login -u system:admin

Now reload the Image streams from the following link:

$ oc create -f -n openshift

The image streans which are already loaded will be skipped. Now login as developer so that your WildFly application will be available in that namespace:

$ oc login 
Authentication required for (openshift)
Username: developer
Password:  developer

Now you can test it loading a Git Hub project which uses WildFly Image Stream:

$ oc new-app wildfly~ --context-dir=wildfly-basic --name=wildfly-basic

Finally, expose the application wildfly-basic to the router so that it's available to outside:

$ oc expose service wildfly-basic

Related articles available on

Openshift installation quick tutorial

IMPORTANT: This tutorial is now outdated. Openishift origin has b

Java EE example application on Openshift

In this tutorial we will learn how to deploy a Java EE applicatio

Running tomcat Docker image on Openshift

A common issue when porting Docker images on Openshift is that th

Deploy Docker images on Openshift

This tutorial will teach you how you can build and deploy a custo

Using Property files in your Openshift applications

A common need for most application is to store its configuration

Accessing Openshift services remotely

In this article we will learn how to connect to services running