christoph ender's

blog

sunday the 24th of march, 2024

accessing a private docker registry

While pushing and pulling to a the private docker registry can be done via standard methods, examining the contents isn't quite so simple.

A list of repositories can be obtainted by using curl:

curl https://my-registry.example.org/v2/_catalog \
  -u registryuser:password

For a given repository name, the list of tags can be accessed in the following way:

curl https://my-registry.example.org/v2/repo-name/tags/list \
 -u registryuser:password