-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker registry 404 #876
Comments
yep, same here. note that i run this behind traefik (external load-balancer) and thus i did not set
|
I use https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion as letsencrypt proxy |
Hey, if you use an external registry api change your url to |
ok. i get it to work but only on port 5500 set Now it works in gitlab-ci.yml but not from external.
return
|
I use my self an external registry and I don't have these problems. Run the container registry with a minimal configuration env's. Have a look a this example:
|
Perhaps your proxy configuration is different.
|
I use it as a external registry now all works ;) thanks @solidnerd |
yep, using the registry externally works - thanks! |
@gimler hi! I'm confusing, I have tried to find the file to place external registry. In documentation they mention gitlab.rb but I don´t find. my gitlab is sameersbn 8.16.5 and the registry is 2.4.1. |
@FranVeraC Did you find a solution? I have the exact same error |
basically my file was that i have tried to use see comment #876 (comment) |
I have found solution to this issue. I am also using "proxy-companion" for letsencrypt certificates and jwilder/nginx-proxy as docker reverse proxy server. Thing that did the trick is registry nginx port. I have changed port to 80 since all incoming traffic is going to VIRTUAL_PORT=80. As we are hitting our reverse proxy on port 443 traffic is forwarded to VIRTUAL_HOST port and that is 80 of gitlab container. Then we need our registry nginx to listen on port 80 and it should work fine... So my current config looks like this..
Next problem that you will face is limitation of jwilder/nginx-proxy is the client_max_body_size limit. After that you should be able to use gitlab docker registry without problems. |
I try to get the registry working but every time i get 404 errors.
result
docker-compose.yml
The text was updated successfully, but these errors were encountered: