4.6.18

Openshift S2I as a dockerhub import tool

Alot of highly secure datacenters disallow direct dockerhub references in pods.

However, for alot of modern apps, you need to run multiple docker images that are published in dockerhub.

Openshift, with its internal registry that the same cloud native auth that the cluster itself accepts gives you a seamless, secure way to import images into your cluster, without having to file an IT ticket.

- use openshift S2i to import an image, with its fully qualified dockerhub name.
oc import-image [:] --from= --confirm
- when you reference the image in pods, copy the imagestream 'docker pull repo' entirely.  Add the tag to the end of it.

- redploy your app.

thats it :)

No comments:

Post a Comment