docker本地私有仓库查看镜像

查看镜像列表

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

你可能感兴趣的:(linux,docker)