Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
API call to list container images in a feed?
-
I have a docker feed that I need to get the container image IDs for. Using the docker command line tool I can only pull containers that I know of, but I need a list.
Is there an API call that will enable me to list the container images (and their container ids)?
-
The two api endpoints I can think of are:
/v2/_catalog
returns all repository names ("container" names)/v2/<repository-name>/tags/list
returns all tags within specified repository
Some more details are here: https://docs.docker.com/registry/spec/api/