https://dockerproxy.com/
搜索镜像命令
docker search python
docker search --filter stars=3 python #3星以上镜像
docker search --filter "is-official=true" --filter "stars=3" python #3星以上,官方版本镜像
https://registry.hub.docker.com/v1/repositories/python/tags
#命令行
curl https://registry.hub.docker.com/v1/repositories/$/tags | python3 -m json.tool | more
#php-fpm
docker search php-fpm
curl https://registry.hub.docker.com/v1/repositories/php/tags | python3 -m json.tool | more
docker-tags.sh
#!/bin/sh
#
# Simple script that will display docker repository tags.
#
# Usage:
# $ docker-search.sh centos
for Repo in $* ; do
curl -s -S "https://registry.hub.docker.com/v2/repositories/library/$Repo/tags/" | \
sed -e 's/,/,\n/g' -e 's/\[/\[\n/g' | \
grep '"name"' | \
awk -F\" '{print $4;}' | \
sort -fu | \
sed -e "s/^/$:/"
done
chmod 744 ./docker-tags.sh
./docker-tags.sh python