Matthias Lehmann
Matthias Lehmann
@dmp42 thanks for you answer. I am not sure whether I understand everything. The documentation gives the impression, that Docker is striving for a distributed architecture with a more or...
I made good progress today writing some authentication system in front of the registry using nginx and ngx_http_auth_request_module. Thanks for your suggestions. The only problem I see with this, is...
Well, after I spend a considerable amount of time implementing access control with nginx and everything looked very nice, today came the disenchantment. It looks like access control with Basic...
I run the "registry" image (`docker run -e STANDALONE=true -e STORAGE_PATH=/data -p 5001:5000 -v /var/registry-data:/data --name local_registry --rm registry`) which is on version 0.8.1 and I use the docker client...
@dmp42 as for my experience of the last days, the ngnx.conf you linked to does not work any more, precisely for the reasons I wrote about above.
All right, what I wrote only is true when docker-registry is not running over HTTPS. If docker-registry runs over HTTPS, docker just sends Basic Authorization headers with every request. If...
@tangicolin I don't think this is a problem in your setup, since it is docker and not the docker-registry who refuses to do basic Auth over http. So the haproxy...
@adamhadani are you sure that the communication happens over HTTPS? Are you sure, Nginx only listens on port 443? You nginx.conf would be helpful, too.
@adamhadani No, docker will not work, if it does not get a X-Docker-Token header (at least in the version 1.2.0 that I use). I had to include it in the...
The inconsistent behaviour over HTTP and HTTPS is not really resolved and the lack of documentation is neither.