列出 USTC Docker 镜像的标签 #75
Labels
blog: programming
@post
This is a blog post
tag: docker
|108685840-96de5d00-752f-11eb-91df-f5e884d827bf.png
View Post on Blog
This post was originally created at 2020-02-28T21:38:39+08:00
众所周知,如果网络条件好的话,可以使用官方的 API 获取镜像标签列表。
如 v2 接口:
但是天朝。。
网易和阿里的官方 API 里都要求有 API Key 签名认证之类,比较繁琐
故先尝试使用 USTC 的镜像,缺点是速度慢、标签不全。。根据一波猜测,得到了 USTC 标签的 API:
同理又意外获得了网易的,标签全!
于是根据 https://stackoverflow.com/a/39454426/8810271 代码改编:
The text was updated successfully, but these errors were encountered: