The template used for deploying the stocktrader application references container images in the openshift
namespace in the internal registry. To prepare the cluster before the lab is used by students, create ImageStream tags for each container in the application. After authenticating as a user with permissions to create images.
oc project openshift
oc tag docker.io/clouddragons/tradr:latest tradr:latest
oc tag docker.io/clouddragons/trade-history:latest trade-history:latest
oc tag docker.io/clouddragons/stock-quote:latest stock-quote:latest
oc tag docker.io/clouddragons/event-streams-consumer:latest event-streams-consumer:latest
oc tag docker.io/clouddragons/portfolio:latest portfolio:latest
This option requires a docker engine where the script is being run
git clone https://github.com/IBMStockTraderLite/stocktrader-openshift.git
cd stocktrader-openshift/scripts
./importImages.sh