-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
podman search
fails for docker.io/library
images
#20230
Comments
@vrothberg, should we just strip library out of the search? |
The following two commands work, so this is an issue with Podman probably not containers/image. |
@rhatdan can you assign this to me. I believe I have some time to kill on this. |
You got it, I have a feeling this is something to do with containers/common/libimage. |
Thanks, @boaz0 ! |
It seems like if index.Official {
// If pull "library/foo", it's stored locally under "foo"
remoteName = strings.TrimPrefix(remoteName, "library/")
} https://github.com/moby/moby/blob/master/registry/search.go#L99-L102 Maybe I can apply something similar in common/libimage |
Looks like the fix (containers/image#2133) was merged, and will be included in podman the next we update c/image |
Issue Description
podman search docker.io/debian
returnsdocker.io/library/debian
, butpodman search docker.io/library/debian
doesn't.docker search docker.io/library/debian
works.Steps to reproduce the issue
podman search docker.io/debian
podman search docker.io/library/debian
Describe the results you received
No results for
docker.io/library/debian
.Describe the results you expected
Some results, just like with
docker search docker.io/library/debian
.podman info output
podman 4.7.0
on Fedora 38 andquay.io/containers/podman:v4.6.1
(v4.7.0
is missing)Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
No response
Additional information
Found by @strk.
The text was updated successfully, but these errors were encountered: