# 查看仓库镜像信息 $ curl -X GET http://localhost:9006/v2/_catalog | python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 61 100 61 0 0 6209 0 --:--:-- --:--:-- --:--:-- 6777 { "repositories": [ "library/db-backup-mysql", "library/mysql" ] }
# 查看仓库指定镜像的版本列表 $ curl -X GET http://localhost:9006/v2/library/mysql/tags/list | python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 49 100 49 0 0 3722 0 --:--:-- --:--:-- --:--:-- 3769 { "name": "library/mysql", "tags": [ "5.7.29", "8.0" ] }
root@node01: ~ # docker pull busybox Using default tag: latest Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on 10.96.0.10:53: server misbehaving