Keep it minimal, who needs a fancy GUI for your Docker Registry when you have, CURL? 😉
Get all container images from registry:
~# curl -X GET -u <USERNAME>:<PASSWORD> https://dockerreg.tld/v2/_catalog
Example output:
{"repositories":["axfr","flowerapi","lolwarez","myip","nyancatchat","phyaddr","readthenburn"]}
List all tags for container image:
~# curl -X GET -u <USERNAME>:<PASSWORD> https://dockerreg.tld/v2/<CONTAINERIMAGE>/tags/list
Example output:
{"name":"myip","tags":["x86_64"]}
TIP, combine the curl with -s and jq for pretty output:
~$ curl -s -X GET -u <USERNAME>:<PASSWORD> https://dockerreg.tld/v2/_catalog | jq
{
"repositories": [
"axfr",
"flowerapi",
"lolwarez",
"myip",
"nyanserv",
"phyaddr",
"readthenburn"
]
}
~$ curl -s -X GET -u <USERNAME>:<PASSWORD> https://dockerreg.tld/v2/<CONTAINERIMAGE>/tags/list | jq
{
"name": "myip",
"tags": [
"x86_64"
]
}
Keep it CURL:in ?
Top site ,.. amazaing post ! Just keep the work on !