How to list all the images on a Docker Registry
Pretty easy:
* Normally with a insecure private Docker Registry you would do:
curl http://<the domain>:<the port if not 80, usually it's 5000>/v2/_catalog
* In a secure private Docker Registry:
curl https://<user_name>:<password>@<the domain>/v2/_catalog
The result will be something like:
{"repositories":["anda/centos-source-aodh-api","anda/centos-source-aodh-base","anda/centos-source-aodh-evaluator","anda/centos-source-aodh-expirer","anda/centos-source-aodh-listener","anda/centos-source-aodh-notifier","anda/centos-source-barbican-api","anda/centos-source-barbican-base","anda/centos-source-barbican-keystone-listener","anda/centos-source-barbican-worker","anda/centos-source-base","anda/centos-source-bifrost-base","anda/centos-source-bifrost-deploy","anda/centos-source-blazar-api","anda/centos-source-blazar-base","anda/centos-source-blazar-manager","anda/centos-source-ceilometer-api","anda/centos-source-ceilometer-base","anda/centos-source-ceilometer-central","anda/centos-source-ceilometer-collector","anda/centos-source-ceilometer-compute","anda/centos-source-ceilometer-ipmi","anda/centos-source-ceilometer-notification","anda/centos-source-ceph-base","anda/centos-source-ceph-mds","anda/centos-source-ceph-mon","anda/centos-source-ceph-osd","anda/centos-source-ceph-rgw","anda/centos-source-cephfs-fuse","anda/centos-source-chrony","anda/centos-source-cinder-api","anda/centos-source-cinder-backup","anda/centos-source-cinder-base","anda/centos-source-cinder-scheduler","anda/centos-source-cinder-volume","anda/centos-source-cloudkitty-api","anda/centos-source-cloudkitty-base","anda/centos-source-cloudkitty-processor","anda/centos-source-collectd","anda/centos-source-congress-api","anda/centos-source-congress-base","anda/centos-source-congress-datasource","anda/centos-source-congress-policy-engine","anda/centos-source-cron","anda/centos-source-designate-api","anda/centos-source-designate-backend-bind9","anda/centos-source-designate-base","anda/centos-source-designate-central","anda/centos-source-designate-mdns","anda/centos-source-designate-pool-manager","anda/centos-source-designate-sink","anda/centos-source-designate-worker","anda/centos-source-dind","anda/centos-source-dnsmasq","anda/centos-source-dragonflow-base","anda/centos-source-dragonflow-controller","anda/centos-source-dragonflow-metadata","anda/centos-source-dragonflow-publisher-service","anda/centos-source-ec2-api","anda/centos-source-elasticsearch","anda/centos-source-etcd","anda/centos-source-fluentd","anda/centos-source-freezer-api","anda/centos-source-freezer-base","anda/centos-source-glance-api","anda/centos-source-glance-base","anda/centos-source-glance-registry","anda/centos-source-gnocchi-api","anda/centos-source-gnocchi-base","anda/centos-source-gnocchi-metricd","anda/centos-source-gnocchi-statsd","anda/centos-source-grafana","anda/centos-source-haproxy","anda/centos-source-heat-all","anda/centos-source-heat-api","anda/centos-source-heat-api-cfn","anda/centos-source-heat-api-cloudwatch","anda/centos-source-heat-base","anda/centos-source-heat-engine","anda/centos-source-helm-repository","anda/centos-source-horizon","anda/centos-source-influxdb","anda/centos-source-ironic-api","anda/centos-source-ironic-base","anda/centos-source-ironic-conductor","anda/centos-source-ironic-inspector","anda/centos-source-ironic-pxe","anda/centos-source-iscsid","anda/centos-source-karbor-api","anda/centos-source-karbor-base","anda/centos-source-karbor-operationengine","anda/centos-source-karbor-protection","anda/centos-source-keepalived","anda/centos-source-keystone","anda/centos-source-keystone-base","anda/centos-source-keystone-fernet","anda/centos-source-keystone-ssh","anda/centos-source-kibana","anda/centos-source-kolla-toolbox","anda/centos-source-kube-apiserver-amd64"]}
* Normally with a insecure private Docker Registry you would do:
curl http://<the domain>:<the port if not 80, usually it's 5000>/v2/_catalog
* In a secure private Docker Registry:
curl https://<user_name>:<password>@<the domain>/v2/_catalog
The result will be something like:
{"repositories":["anda/centos-source-aodh-api","anda/centos-source-aodh-base","anda/centos-source-aodh-evaluator","anda/centos-source-aodh-expirer","anda/centos-source-aodh-listener","anda/centos-source-aodh-notifier","anda/centos-source-barbican-api","anda/centos-source-barbican-base","anda/centos-source-barbican-keystone-listener","anda/centos-source-barbican-worker","anda/centos-source-base","anda/centos-source-bifrost-base","anda/centos-source-bifrost-deploy","anda/centos-source-blazar-api","anda/centos-source-blazar-base","anda/centos-source-blazar-manager","anda/centos-source-ceilometer-api","anda/centos-source-ceilometer-base","anda/centos-source-ceilometer-central","anda/centos-source-ceilometer-collector","anda/centos-source-ceilometer-compute","anda/centos-source-ceilometer-ipmi","anda/centos-source-ceilometer-notification","anda/centos-source-ceph-base","anda/centos-source-ceph-mds","anda/centos-source-ceph-mon","anda/centos-source-ceph-osd","anda/centos-source-ceph-rgw","anda/centos-source-cephfs-fuse","anda/centos-source-chrony","anda/centos-source-cinder-api","anda/centos-source-cinder-backup","anda/centos-source-cinder-base","anda/centos-source-cinder-scheduler","anda/centos-source-cinder-volume","anda/centos-source-cloudkitty-api","anda/centos-source-cloudkitty-base","anda/centos-source-cloudkitty-processor","anda/centos-source-collectd","anda/centos-source-congress-api","anda/centos-source-congress-base","anda/centos-source-congress-datasource","anda/centos-source-congress-policy-engine","anda/centos-source-cron","anda/centos-source-designate-api","anda/centos-source-designate-backend-bind9","anda/centos-source-designate-base","anda/centos-source-designate-central","anda/centos-source-designate-mdns","anda/centos-source-designate-pool-manager","anda/centos-source-designate-sink","anda/centos-source-designate-worker","anda/centos-source-dind","anda/centos-source-dnsmasq","anda/centos-source-dragonflow-base","anda/centos-source-dragonflow-controller","anda/centos-source-dragonflow-metadata","anda/centos-source-dragonflow-publisher-service","anda/centos-source-ec2-api","anda/centos-source-elasticsearch","anda/centos-source-etcd","anda/centos-source-fluentd","anda/centos-source-freezer-api","anda/centos-source-freezer-base","anda/centos-source-glance-api","anda/centos-source-glance-base","anda/centos-source-glance-registry","anda/centos-source-gnocchi-api","anda/centos-source-gnocchi-base","anda/centos-source-gnocchi-metricd","anda/centos-source-gnocchi-statsd","anda/centos-source-grafana","anda/centos-source-haproxy","anda/centos-source-heat-all","anda/centos-source-heat-api","anda/centos-source-heat-api-cfn","anda/centos-source-heat-api-cloudwatch","anda/centos-source-heat-base","anda/centos-source-heat-engine","anda/centos-source-helm-repository","anda/centos-source-horizon","anda/centos-source-influxdb","anda/centos-source-ironic-api","anda/centos-source-ironic-base","anda/centos-source-ironic-conductor","anda/centos-source-ironic-inspector","anda/centos-source-ironic-pxe","anda/centos-source-iscsid","anda/centos-source-karbor-api","anda/centos-source-karbor-base","anda/centos-source-karbor-operationengine","anda/centos-source-karbor-protection","anda/centos-source-keepalived","anda/centos-source-keystone","anda/centos-source-keystone-base","anda/centos-source-keystone-fernet","anda/centos-source-keystone-ssh","anda/centos-source-kibana","anda/centos-source-kolla-toolbox","anda/centos-source-kube-apiserver-amd64"]}
Comments
Post a Comment