robinmonjo / krgo

docker hub without docker
73 stars 8 forks source link

krgo pull rhel:6.5 fails fetching ancestry #4

Open rrva opened 9 years ago

rrva commented 9 years ago
$ krgo pull rhel:6
Pulling image library/rhel:6 ...
Index endpoint: https://index.docker.io/v1/
Registry endpoint: [https://registry.access.redhat.com/v1/]
Image ID:
2015/07/08 21:41:01 Server error: 404 trying to fetch remote history for

This request is performed:

GET https://registry.access.redhat.com/v1/repositories/library/rhel/tags

Response:

{"7.0-21": "e1f5733f050b2488a17b7630cb038bfbea8b7bdfa9bdfb99e63a33117e28d02f", "7.0-23": "bef54b8f8a2fdd221734f1da404d4c0a7d07ee9169b1443a338ab54236c8c91a", "7.0-27": "8e6704f39a3d4a0c82ec7262ad683a9d1d9a281e3c1ebbb64c045b9af39b3940", "7.1-4": "10acc31def5d6f249b548e01e8ffbaccfd61af0240c17315a7ad393d022c5ca2", "7.1-6": "65de4a13fc7cf28b4376e65efa31c5c3805e18da4eb01ad0c8b8801f4a10bc16", "7.1-9": "e3c92c6cff3543d19d0c9a24c72cd3840f8ba3ee00357f997b786e8939efef2f", "latest": "e3c92c6cff3543d19d0c9a24c72cd3840f8ba3ee00357f997b786e8939efef2f"}

and then this request:

GET https://registry.access.redhat.com/v1/images//ancestry

which gets a 404

rrva commented 9 years ago

It seems the bug is that it does not choose an image, note the // in the url to ancestry..