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"
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-docker/pull/185 added
Updated by Anonymous almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman-docker|f02a9ce21e8807257c3ac8e0a6ebc930604654b8.