You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that when I run both mirror (config.yml remoteurl: https://registry-1.docker.io") and private registry in the same contianer, the mirror part will work but the private reigstry part refused to let docker host to push images to it.
eg.
docker_host pull/push-----> registry:5002 for both mirror and priv_registry
however, everything works when those 2 functions are seperated.
eg.
docker_host pull-----> registry:5003 for mirror
docker_host push-----> registry:5004 for private registry
curl shows that the mirror is working and caching the image pull by other docker host
I believe the docker registry code does not allow a single registry instance to be both a docker cache and a private registry. We ended up running 2 instances and haven't had any trouble now.
The issue is that when I run both mirror (config.yml remoteurl: https://registry-1.docker.io") and private registry in the same contianer, the mirror part will work but the private reigstry part refused to let docker host to push images to it.
eg.
docker_host pull/push-----> registry:5002 for both mirror and priv_registry
however, everything works when those 2 functions are seperated.
eg.
docker_host pull-----> registry:5003 for mirror
docker_host push-----> registry:5004 for private registry
curl shows that the mirror is working and caching the image pull by other docker host
however, when other docker host is pushing to it, it got stuck in preparing > retry and loop forever
the logs from the registry showing that it denied the request.
denied: requested access to the resource is denied
here is my config on both docker_host and registry
my registry docker-compose file
The text was updated successfully, but these errors were encountered: