Closed kopax closed 8 years ago
All the documentation you need is here:
https://github.com/docker/distribution/tree/master/docs
Specifically:
https://github.com/docker/distribution/tree/master/docs/deploying.md
You don't need nginx - if you insist on using it, there is a recipe for it specifically: https://github.com/docker/distribution/blob/master/docs/nginx.md
Also, you are in the wrong place - docker-registry is the deprecated, python implementation.
From your logs, it seems you try to connect to port 60053 - which doesn't seem to match neither your nginx nor your backend registry.
@dmp42 , thanks for guiding me along this.
Unfortunately, I have already checked the first link, and I have also already read more than once the second link and third link.
Regarding my logs, it was the only config where registry process was logging something, I have no clue why nginx forward it to a port 60053 which got logged in the correct registry container.
Using the config you gave me from the second and third link, I was landing on a http code 502 page with nginx logging the following error :
[error] 9#9: send() failed (111: Connection refused) while resolving, resolver: 127.0.0.1:53
HI everyone. I am trying hard to enable .htpasswd TLS authentication in my docker registry. After a few hours of deprecreted documentation and tutorials, I think I might need some of your help.
I have the feeling that the environment var aren't working so I choosed to try the
config.yml
way :My nginx looks like this :
By accessing the url
https://docker.domain.com
I got the following error