How to search images from private 1.0 registry in docker?
docker, docker-registry
Solution
As of v 0.7.0 of the private registry you can do:
$ curl -X GET http://localhost:5000/v1/search?q=postgresql
and you will get a json payload:
{"num_results": 1, "query": "postgresql", "results": [{"description": "", "name": "library/postgresql"}]}
to give more background here is how I started my registry:
docker run \
-e SETTINGS_FLAVOR=local \
-e STORAGE_PATH=/registry \
-e SEARCH_BACKEND=sqlalchemy \
-e LOGLEVEL=DEBUG \
-p 5000:5000 \
registry
Problem
I made a private registry,curl xx.xx.xx.xx:5000 is ok. I push an image into docker private registry by doing: `docker push xx.xx.xx.xx:5000/centos` it return: `http://xx.xx.xx.xx:5000/v1/repositories/centos/tags/latest` the question is how to get all images from registry web or command whatever. I cant find any information from docker registry api. any one helps ? :)