OpenShift Image and ImageStream Operations

From NovaOrdis Knowledge Base
Revision as of 16:29, 1 November 2017 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Overview

Get Image Streams Available to a Project

oc project <project-name>
oc get imagestreams

Create an Image Stream

The following procedure will create a image stream named "" in the "openshift" project.

An example of image stream definition file is available at https://raw.githubusercontent.com/jboss-openshift/application-templates/master/jboss-image-streams.json. A version is also available here: OpenShift JBoss ImageStream Definition Example.

oc login -u system:admin
oc create -f ./jboss-image-streams.json -n openshift