check all the tags docker code example
Example: get tag list of image from hub using cli
[email protected]:~# curl 'https://registry.hub.docker.com/v2/repositories/library/debian/tags/'|jq '."results"[]["name"]'
"7.11"
"testing"
"oldstable-backports"
"oldstable"
"8"
"8.5"
"stretch"
"experimental"
"rc-buggy"
"wheezy-backports"