docker-reg-tool icon indicating copy to clipboard operation
docker-reg-tool copied to clipboard

Cannot iterate over null

Open BSVogler opened this issue 5 years ago • 3 comments

Hi!

Hoping this tool can help me delete some repo.

I tried list on two different repos and get jq: error (at <stdin>:3): Cannot iterate over null (null)

I installed the latest version 1.6 of jq on Mac OS. The credentials are stored in the docker config.json file.

BSVogler avatar Jan 07 '21 11:01 BSVogler

Hi @BSVogler. What do you get if you run TRACE=true ./docker_reg_tool ... ?

byrnedo avatar Feb 15 '21 13:02 byrnedo

I guess it leads to

curl '' --header 'Authorization: Basic ABCDEF123' -s 'https://yourregistry.com/v2/_catalog?n=500'

with result

{"error": "Invalid bearer token format"}

I have the same issue with a Quay based registry.

wdw-jst avatar Jun 01 '21 13:06 wdw-jst

Any idea what quay want when it comes to auth?

byrnedo avatar Oct 14 '22 13:10 byrnedo