docker-registry-util icon indicating copy to clipboard operation
docker-registry-util copied to clipboard

increase number of images returned by catalog

Open tomzo opened this issue 6 years ago • 0 comments

V2 registry uses pagination on the _catalog endpoint. By default it results ~50 repositories. It can be controlled by query parameter n. Such as docker-registry..com/v2/_catalog?n=1000. In the existing code this seems ignored at all and the list of all images is always shorter than actual when there are lots of them. This should be probably some configuration value. So far I have added n to the HTTP request and increased default to 500.

tomzo avatar Apr 03 '18 19:04 tomzo