查看镜像列表

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”]}

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐