docker本地私有仓库查看镜像
查看镜像列表curl -X GET https://dockershare:2333/v2/_catalog --cacert /etc/docker/certs.d/dockershare:2333/ca.crt查看指定镜像的tagcurl -X GET https://dockershare:2333/v2/nginx/tags/list --cacert /etc/docker/ce...
·
查看镜像列表
curl -X GET https://dockershare:2333/v2/_catalog --cacert /etc/docker/certs.d/dockershare:2333/ca.crt
输出内容
{“repositories”:[“airflow”,“beats/filebeat”,“elasticsearch”,“logstash/logstash”,“mysql”,“postgres”,“proxy”,“python”,“redis”]}
查看指定镜像的tag
curl -X GET https://dockershare:2333/v2/redis/tags/list --cacert /etc/docker/certs.d/dockershare:2333/ca.crt
输出内容
{“name”:“redis”,“tags”:[“0.3.7”,“0.3.8”,“0.3.9”,“0.4.2”,“0.4.1”]}
更多推荐
已为社区贡献1条内容
所有评论(0)