If docker image already available in nexus repository then it can be used in openshift ECPaaS environment by creating image stream. Below are the steps to create image stream in openshift.
a. login to openshift with CLI ( Download openshift client(oc) from Download link and install)
...
Code Block |
---|
oc secret link default imagehub --for=pull oc secret link deployer imagehub --for=pull oc secret link builder imagehub --for=pull |
e. Import image image by running command:
Code Block |
---|
oc import-image helloworld --from=imagehub.cdc.gov:81235989 --confirm |
f. After importing image it can be deployed with openshift UI.