The docker CLI doesn't have functionality to search a registry, but you can use the registry's REST API. Assuming you're using the registry:2 image, then you can list all the repositories using the catalog endpoint:
$ curl https://my-registry:5000/v2/_catalog
{"repositories":["busybox","redis","ubuntu"]}