Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-15179

DO188: ch03s03 - podman search fails on private registry - RHT2414217

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • DO188 - RHOSCP4.14-en-3-20241023, DO188 - RHOSCP4.14-en-2-20240723
    • DO188
    • None
    • False
    • Hide

      None

      Show
      None
    • 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>').

       

       

              rht-psolarvi Pablo Solar Vilariño
              carias@redhat.com Carlos Arias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: