Closed clintharris closed 8 years ago
If you disable authentication for the search endpoint, does it work? I'm pretty sure this is an engine bug with regard to auth. with search.
@dmp42 Yes, it works if I disable authentication for /v1/search
endpoint. Not a great work-around if you're terribly security conscious...
What do you mean by "engine bug"?
"Docker bug". https://github.com/docker/docker/pull/10050
It looks like this was fixed with #10050. can we close it?
Nevermind, just realized that this is the deprecated repo, sorry for the noise.
@calavera np - closing either way :)
I’ve set up a private registry by doing a ‘docker pull’ of registry:latest and am running it behind Apache using the reference conf file.
The core features work fine. I am able to login and push/pull images.
docker search
fails, however:The Apache error log seems to suggest that the basic auth user isn’t being passed for some reason:
I believe the issue must be with the Docker client. I am able to successfully curl the search URL directly with basic http auth:
Just for additional info, here’s what I see in the Gunicorn logging output (i.e., by doing a docker logs on the server); clearly no error at the registry container level:
Can someone verify that this is a bug or offer some thoughts on what I may be doing wrong? Thanks!
Client:
Registry/server: