docker私有库查询技巧
搭建docker私有仓库时,用以查看本地仓库已存在的文件,json格式返回
- 上传前
[root@localhost ~]# curl -XGET http://192.168.227.129:5000/v2/_catalog
{"repositories":[]}
- 上传后
[root@localhost ~]# curl -XGET http://192.168.227.129:5000/v2/_catalog
{"repositories":["ubunru-ifconfig"]}