1. Proposed title of this feature request - [RFE] Configurable default docker registry used by oc new-app 3. What is the nature and description of the request? - When oc new-app <GIT> and failed to search image in local imageStream nor registry.redhat.com, it will try to access docker.io to find it. We would like to configure the default registry docker.io with some other registries. 4. Why does the customer need this? (List the business requirements here) - The customer uses OpenShift on disconnected environment and new-app always lookup docker.io and produces error as "no such host". They want to stop it. 5. How would the customer like to achieve this? (List the functional requirements here) - Disable to lookup docker.io by default or configure to lookup other registries.
Assigned to Michal, who should be able to answer about the registry lookup.
In more recent version of OpenShift (>3.5) we already added `imagePolicyConfig.AllowedRegistriesForImport` option in master config which can be used to whitelist registries for image import. The 'docker.io' is whitelisted by default, but by removing it from this list your should get nicer error message when trying to new-app using docker.io saying that importing the image is not allowed.
This bug has been identified as a dated (created more than 3 months ago) bug. This bug has been triaged (has a trello card linked to it), or reviewed by Engineering/PM and has been put into the product backlog, however this bug has not been slated for a currently planned release (3.9, 3.10 or 3.11), which cover our releases for the rest of the calendar year. As a result of this bugs age, state on the current roadmap and PM Score (being below 70), this bug is being Closed - Differed, as it is currently not part of the products immediate priorities. Please see: https://docs.google.com/document/d/1zdqF4rB3ea8GmVIZ7qWCVYUaQ7-EexUrQEF0MTwdDkw/edit for more details.