Bug 1291242
| Summary: | To be able to pull image from openshift registry using service name | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Miheer Salunke <misalunk> |
| Component: | RFE | Assignee: | Michal Fojtik <mfojtik> |
| Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.1.0 | CC: | aos-bugs, bleanhar, erich, jokerman, michael.voegele, miminar, misalunk, mmccomas, pruan, wsun |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-18 12:38:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Miheer Salunke
2015-12-14 11:55:10 UTC
This sounds like you wan to expose the registry through a route: https://docs.openshift.com/enterprise/3.0/install_config/install/docker_registry.html#exposing-the-registry Does that solve the problem? Related issue: https://github.com/openshift/origin/issues/8581 The referenced issues has been resolved. @miheer can you confirm that way this is resolved as mentioned in comment [1] is sufficient? You should be able to pull and push using docker-registry service name (e.g. registry.default.svc:5000/develop/simple-ruby:latest). Nevertheless, resulting image in image stream will be still tagged with service IP. [1] https://github.com/openshift/origin/issues/8581#issuecomment-239880317 Confirmed with OCP3.4, we can reference unsecure registry with stable name: [root@zhouy testjson]# oc get is NAME DOCKER REPO TAGS UPDATED ruby-22-centos7 docker-registry.default.svc:5000/zytest/ruby-22-centos7 latest Less than a second ago ruby-ex docker-registry.default.svc:5000/zytest/ruby-ex Thanks! Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0066 |