podman search when using a Harbor container image registry server reports "unauthorized to list catalog"
Issue
- When using
podmanas a container engine, I am able to log in to myHarborcontainer registry withpodman login harbor.example.com. - When I attempt to do
podman searchI receive an error similar to the following:
$ podman search myimage
ERRO[0000] error getting search results from v2 endpoint "harbor.example.com": unauthorized: unauthorized to list catalog: unauthorized to list catalog
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Podman or Docker container engine
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.