Skip to content

Instantly share code, notes, and snippets.

@tnozicka
Created June 15, 2016 13:34
Show Gist options
  • Save tnozicka/f46b37f57f7ac755fefa6a0f0c8a77bf to your computer and use it in GitHub Desktop.
Save tnozicka/f46b37f57f7ac755fefa6a0f0c8a77bf to your computer and use it in GitHub Desktop.
Docker Hub - manifests
repo=openshift/origin && curl -H "Authorization: Bearer $(curl -sSL "https://auth.docker.io/token?service=registry.docker.io&scope=repository:${repo}:pull" | jq --raw-output .token)" "https://registry.hub.docker.com/v2/${repo}/manifests/latest"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment