Am trying to create an app using an image from corporate private registry.
>>>>>>>>>>
# oc new-app --docker-image=myrepo/skotaru/ruby-22-rhel7 --name quayapp1
I0303 19:55:15.769901 88132 componentresolvers.go:126] Errors occurred during
resolution: []error{(*errors.errorString)(0xc208546d00)}
F0303 19:55:15.770051 88132 helpers.go:96] error: no match for
“myrepo/skotaru/ruby-22-rhel7", specify --allow-missing-images to use this
image name.
<<<<<<<<<<
It is failing to create app. If I changed image type to public, am able to
create the app.
created a secret and added it to default service account.
# oc secrets new-dockercfg repo-login --docker-server=myrepo
--docker-username=skotaru --docker-password=<****> [email protected]
# oc secrets add serviceaccount/default secrets/repo-login --for=pull
Am I missing anything here? Why unable to create app if image type is private?
--
Srinivas Kotaru
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users