Hi Henryk

If I correctly understand your use case I think that the easiest way is to
create an imagestream foo and to use the pull-through feature:
https://docs.openshift.org/latest/install_config/registry/extended_registry_configuration.html#middleware-repository-pullthrough
https://docs.openshift.org/latest/dev_guide/managing_images.html#image-pull-policy

Regards,

Frédéric

On Wed, Jun 28, 2017 at 11:29 AM, Henryk Konsek <[email protected]> wrote:

> Hi,
>
> What would be the easiest way to start Docker Registry in OpenShift Origin
> and tell OpenShift to look up for Docker images in it?
>
> What I would like to achieve is that when I execute "oc new-app foo",
> OpenShift will try to look up for "foo" image in my local Origin registry
> and then in DockerHub.
>
> Many thanks!
> --
> Henryk Konsek
> https://linkedin.com/in/hekonsek
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
>


-- 
*Frédéric Giloux*
Senior Middleware Consultant
Red Hat Germany

[email protected]     M: +49-174-172-4661

redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted
________________________________________________________________________
Red Hat GmbH, http://www.de.redhat.com/ Sitz: Grasbrunn,
Handelsregister: Amtsgericht München, HRB 153243
Geschäftsführer: Paul Argiry, Charles Cachera, Michael Cunningham, Michael
O'Neill
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to