can not have JSON format output of cli "podman search" or "podman image search" #8274
Labels
In Progress
This issue is actively being worked by the assignee, please do not work on this at this time.
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
It seems we can't have the image search result in a JSON format now. I suppose it can be done by using a command like
podman search --format json $IMAGE
orpodman image search --format json $IMAGE
, but I got several lines of the string "json" instead.Steps to reproduce the issue:
podman search --format json registry.fedoraproject.org/fedora
orpodman image search --format json registry.fedoraproject.org/fedora
Describe the results you received:
❯ podman search --format json registry.fedoraproject.org/fedora
json
json
json
json
json
json
json
json
❯ podman image search --format json registry.fedoraproject.org/fedora
json
json
json
json
json
json
json
json
Describe the results you expected:
Display all the registries in a JSON format.
Additional information you deem important (e.g. issue happens only occasionally):
Always
Output of
podman version
:Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide?
Yes
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: