Created
August 14, 2018 14:34
-
-
Save ryujaehun/4980a03a3851775d192b42245bf04924 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#usage list-dh-tags <repo> | |
#example: docker-tag node | |
function docker-tag(){ | |
wget -q https://registry.hub.docker.com/v1/repositories/$1/tags -O - | sed -e 's/[][]//g' -e 's/"//g' -e 's/ //g' | tr '}' '\n' | awk -F: '{print $3}' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment