docker - Why does GCR's container registry ignore the _catalog pagination parameters -


while trying query gcr container registry using _catalog api pagination parameter observed there no pagination mechanism descriped in docker's documentation.

$ token=$(gcloud auth print-access-token) $ curl -v -u _token:${token} -x "https://gcr.io/v2/_catalog?n=1" 

i see repositories @ once. expect single repository instead. here response's body:

{"repositories":["image1","image2","image3", ... , "image2016"]} 

the response's headers has no information regards way gcr processed request, namely following query returns same result above:

curl -v -u _token:${token} -x "https://gcr.io/v2/_catalog" 

google says supports v2 docker registry api.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -