This script uses DockerHub registry API v2, which returns JSON response of tags in paginated manner. So the script...
- Fetches the response (using curl)
- Takes out all the versions returned on a single page (using python)
- Goes to the next page, repeats steps 1 and 2
- Makes a list at every iteration and prints it out at the end.