查看 docker 鏡像 tags


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/


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM