In CDK we do expose local registry which openshift create to consume it. registry is exposed to "hub.openshift.rhel-cdk.10.1.2.2.xip.io" provided you didn't change IP before starting CDK box.
Please refer to https://lalatendu.org/2016/06/09/using-the-docker-registry-in-openshift-using-adb/ post which we did for Atomic Developer Bundle (which is upstream to CDK). hope that would solve your issue,
Hey kumarpraveen.nitdgp, your suggestion didn't work for me. But I found a way around my issue.
I used the build config settings to override the FROM directive to force the build process to use the image from the image stream within the openshift infrastructure:
- apiVersion: v1
Thanks again for your help!