Skip to content

Instantly share code, notes, and snippets.

@okwrtdsh
Created July 3, 2018 03:45
Show Gist options
  • Save okwrtdsh/543095f231793366e3cc8913ad176901 to your computer and use it in GitHub Desktop.
Save okwrtdsh/543095f231793366e3cc8913ad176901 to your computer and use it in GitHub Desktop.

Get all tags for docker image from Docker Hub

$ REPO=okwrtdsh/anaconda3
$ curl -L -s "https://hub.docker.com/v2/repositories/$REPO/tags/?page_size=1024" | jq '.results[].name' | sed 's/"//g' | sort
8.0-cudnn6
8.0-cudnn7
9.0-cudnn7
9.1-cudnn7
9.2-cudnn7
cpu
keras
keras-8.0-cudnn6
keras-8.0-cudnn7
keras-9.0-cudnn7
keras-9.1-cudnn7
keras-9.2-cudnn7
keras-cpu
latest
pytorch
pytorch-8.0-cudnn6
pytorch-8.0-cudnn7
pytorch-9.0-cudnn7
pytorch-9.1-cudnn7
pytorch-9.2-cudnn7
pytorch-cpu
tf
tf-8.0-cudnn6
tf-8.0-cudnn7
tf-9.0-cudnn7
tf-9.1-cudnn7
tf-9.2-cudnn7
tf-cpu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment