Cannot pull docker image using registry on port 30081
After setting up Kraken as described in documentation using k3s.
Pulling a docker image with docker pull localhost:30081/library/busybox:latest fails.
The output is Error response from daemon: manifest for localhost:30081/library/busybox:latest not found: manifest unknown: manifest unknown
The registry API seems to be working when I do curl -I localhost:30081/v2/
This is what I receive
HTTP/1.1 200 OK
Server: nginx/1.10.3
Date: Tue, 26 Sep 2023 17:39:21 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 2
Connection: keep-alive
Docker-Distribution-Api-Version: registry/2.0
same issue.
At the end, Kraken did not work for me. If you are looking for alternatives, you can check out
- https://github.com/akakream/DistroMash
- https://github.com/XenitAB/spegel
@akakream, thanks for lightening up the alternatives! Kraken looks impressive, but it doesn't look like being actively maintained during the last three years or so.
I ended up writing my own registry for Docker image distribution. The registry utilizes IPFS to speed up and coordinate the distribution. You can check it out here: https://github.com/akakream/DistroMash