Docker Community Forums

Share and learn in the Docker community.

Docker Registry API - What application to use to run API commands?

Issue type: Basic use question of the API’s

Development Server
Windows Server 2019 Datacenter Version 1809 (OS Build 17763.1039)
Docker Enterprise Edition 19.03.5

Docker Registry Server
Windows Server 2019 Datacenter Version 1809 (OS Build 17763.1039)
Docker Enterprise Edition 19.03.5

I am novice to using the Registry API within Docker and want to know what application do I use to run these API commands? Since I’m on a Windows server and using tools like Powershell, Visual Studio and VS Code, do I fire up a basic terminal window there and run the commands there? Or is there a better way that I’m unaware of? Thanks for reading and replying.

1 Like

Well, I’ve made some progress, I can run a curl command and see the catalog both on the developer box and the registry server itself. From a Powershell prompt, I’m running:

curl XXX.XXX.XXX.XXX:5000/v2/_catalog and I get a Status Code of 200 and Status Description of OK.

The question I still have is where would I put the GET and am I still using Powershell as my UI or something else like VSCode and writing and running a JSON?