It is kind and optimistic of you that you think it could be a bug I honestly don’t use docker search for a long time and I remember similar issues with that command reported on the forum when logging out made docker search working again. I thought it could be an issue with authentication and hour private images not being searchable, but in this case, it doesn’t matter if I log in or not. I tried your command with “hello-” but I also tried “hel” which also worked. So my guess is that depending on the keyword something in the search result breakes the HTTP response. For example an invalid character in the description of one of the containers or something happens even before generaring the search result so the result response is incomplete.
I tried docker search hello --limit 1. It worked too, so I was pretty sure it was a bug depending on the actual search result. Since you mentioned it works on Dcoker hub, I searched for “hello” there and tried and increased my limit in the terminal from 1 to 12 without issues. 13 didn’t work (lucky number, isn’t it?), so I checked which is the 13th result on Docker hub. It was: https://hub.docker.com/_/microsoft-mcr-hello-world
The only strange thing I can see is the name of the image in the search result, which is “Mcr Hello World” containing spaces, but when I search for “OpenCRAVAT” it is not a problem. I also tested if the parenthesis in the description is causing this, so I edited the description of my test image, but that worked well too. At this point we can open an issue here:
I think I will do that and come back with the link where you can join the conversation.