How to list all remote docker images in the repo?

  • fennng 

If you have a private docker repo (such as azure docker registry), and would like to list all the remote images, what would you do?

If you have the portal access such as azure portal, you can see all your images easily. But if you only have the credentials for the repo, then what can you do?

It’s actual very easy to do.

Docker registry provides a easy to use restful API to access images info. You can use any HTTP client to access it. In the following example, I use curl

curl https://username:password@repo_domain/v2/_catalog  

{"repositories": ["image1", "image2", "image3" ...]}



您的电子邮箱地址不会被公开。 必填项已用*标注