curl  https://registry.hub.docker.com/v1/repositories/mysql/tags | python3 -m json.tool | more

可以保存为 shell 脚本, 方便使用

#!/bin/bash \n
echo '正在搜索镜像 '$1' 的tags ...' \n
curl  https://registry.hub.docker.com/v1/repositories/$1/tags | python3 -m json.tool | more

参考 博问: https://q.cnblogs.com/q/130431/

相关文章:

猜你喜欢
相关资源
相似解决方案