-
Bug
-
Resolution: Done
-
Major
-
DO188 - RHOSCP4.14-en-3-20241023, DO188 - RHOSCP4.14-en-2-20240723
-
None
-
False
-
-
False
-
3
-
-
-
en-US (English)
-
AppDev Sprint Jul 10 - Jul 24
URL: | https://rol.redhat.com/rol/app/courses/do188-4.18/pages/ch03s03 |
Reporter RHNID: | usha.kant-cic@ibm.com |
Section title: | Lab: Container Images |
Language: | English |
Issue description
It's not possible to make searches with "podman search" into the registry.ocp4.example.com:8443 registry unless it's added to the unqualified-search-registries in the /etc/containers/registries.conf file.
It is important to explain this in the student guide, or include the parameter it in the lab configuration.
Steps to reproduce:
Try to make a podman search of one of the repo/images in the lab registry.
It will only show results from other public registries.
Add the lab registry to the registries.conf file.
Make some repos in the registry public.
Do the search again and check that it works now.
Workaround:
Add a note to the guide explaining that 'podman search' may fail to find images in private registries like registry.ocp4.example.com:8443 unless it's added to the unqualified-search-registries in /etc/containers/registries.conf. Provide instructions on how to modify this file (if applicable for the lab environment) or suggest adding the registry as a parameter to the 'podman search' command (e.g., 'podman search registry.ocp4.example.com:8443/ | grep <image_name>').