Skip to content

Instantly share code, notes, and snippets.

@mowings
Last active December 14, 2021 18:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mowings/23d86d918362cc60562233730ce22e80 to your computer and use it in GitHub Desktop.
Save mowings/23d86d918362cc60562233730ce22e80 to your computer and use it in GitHub Desktop.
List docker registry image base names and tags

List base image names and tags

curl https://docker.example.com/v2/_catalog.           # List repos (base image names)
curl https://docker.example.com/v2/myimage/tags/list   # List image tags

Ok for image names to have forward slashes

To get all images in a registry, call the catalog API, then call tags/list for each result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment