Skip to content

Instantly share code, notes, and snippets.

@sturman
Last active February 8, 2019 10:19
Show Gist options
  • Save sturman/40184bbea2d90d0638e55ea7202cd058 to your computer and use it in GitHub Desktop.
Save sturman/40184bbea2d90d0638e55ea7202cd058 to your computer and use it in GitHub Desktop.
List docker image tags
#!/usr/bin/env bash
IMAGE_NAME=node
# sudo apt install jq
wget -q https://registry.hub.docker.com/v1/repositories/${IMAGE_NAME}/tags -O - | jq .[].name
# OR
curl -s https://registry.hub.docker.com/v1/repositories/${IMAGE_NAME}/tags | jq .[].name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment