Open catsem opened 7 years ago
Please tell me if I did something wrong in the issue description. Or is this targeted use case impossible with cesanta/docker_auth?
I am also experiencing this issue. Please address.
Are you able to temporarily set the acl to allow all, that would likely narrow down the issue to see if auth_server is able to support pull through cache.
Hi @techknowlogick
I am also experiencing an issue running this setup. I also tried by setting ACL to allow all, but same result.
This is my ACL configuration to allow all if thatś correct:
acl:
- match: { }
actions: [ "*" ]
comment: "Logged in users have full access."
Hope it helps.
While I was trying to use the auth_server in the "pull through cache" registry use case (https://docs.docker.com/registry/recipes/mirror/) I faced the problem that the docker client cannot authorize.
Docker login is successful. Then I try "docker pull ubuntu" -> docker agent asks private registry (as pull through cache) -> Error in auth_server:
I used this acl:
Because I noticed that the username is not submitted by docker client in this case I also tried an ip-based acl but it doesn't match either...
When I do a docker pull registry.mydomain.com/myimage the authentication is working fine.
I guess the reason why this happens is because there is no authn rule for this repository name "library". Can you help me how to add the right rule? Thanks in advance.
Best catsem