Skip to content

Instantly share code, notes, and snippets.

@anthr76
Created July 14, 2021 22:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anthr76/d7aa7c8208725c52e4decf51a5afdebc to your computer and use it in GitHub Desktop.
Save anthr76/d7aa7c8208725c52e4decf51a5afdebc to your computer and use it in GitHub Desktop.
dockerhub search
kubectl get pods --all-namespaces -o=jsonpath="{range .items[*]}{'\n'}{range .spec.containers[*]}{.image}{'\n'}{end}{end}" | sort | uniq | grep -Ev 'quay|gcr|ghcr' | sed -e 's/docker\.io\///g' | sort | uniq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment