Closed Stitch10925 closed 2 months ago
Hi, can you show the command you use to pull the image?
Docker pulls the image for me (I'm using docker swarm).
The compose file contains the following:
Manually I tried using this:
Oh so the pull in docker swarm works? When you are using the docker pull command do you use that on one of your swarm machines so that 127.0.0.1 is routed by docker swarm to the registry-cache container?
When using the PULL command without the Docker Cache everything works fine, when I add "127.0.0.1:5000" is when I get het "manifest unknown" error.
As you can see in the screenshots, the "manifest unknown" error is logged in the Docker Cache logging. This tells me:
I assume the URL used to download the image by Docker Cache might be incorrectly parsed, but that's just a guess.
Ah I see, Can you try using registry-1.docker.io
instead of docker.io
in the config?
Using "registry-1.docker.io" worked, thanks!
Not sure if this address can be added as fallback address when images are trying to be pulled from Docker? It might also be useful to add this URL to the example in the Readme file for future reference?
What also would help for debugging in the future, would be a health endpoint. As of now I found no way to test if my node could reach 172.0.0.1:5000, but having an endpoint like "127.0.0.1:5000/health" would allow users to test if they can reach the Docker Cache.
Hey,
First of all, thank you for the project. I have been looking for a lightweight docker image cache that was easy to set up. This seems to tick all the boxes for me. However, I seem to have hit a problem that I don't know how to solve.
Error from the Cache log:
From what I understand it managed to connect to docker hub but could not download the image. The image it is trying to download is "zadam/trilium:0.62.4", which exist on dockerhub:
I also registered the Docker Cache as insecure registry:
This is my compose file:
So I'm not quite sure if I missed something.