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

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -