Bug #18733
closedExternal Registry search falls back to Docker Hub
Description
When no registry is selected the Hub is searched on the External registry tab when choosing an image for creating a new container.
Steps to reproduce:
1. In Satellite UI, create a new container (Containers > New container)
2. In the Image stage, select External registry
3. DO NOT select a registry from the drop-down menu. Search for an image -- type "rhel" to the Search field and click the looking glass button.
4. Results from the Docker Hub are listed -- see attached screenshot
This can lead to a potentially dangerous confusion, user might pull an image from the Docker Hub thinking it comes from a pre-configured external repository (e.g. registry.access.redhat.com).
Expected results:
UI should display a warning, something like "Please select a registry"