Skip to content
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

Request to registry not specifying registry port correctly #199

Open
RussellTaylor83 opened this issue Sep 2, 2018 · 1 comment
Open

Comments

@RussellTaylor83
Copy link

Hello,

I am following default configurations for everything afaik, but the front end is not specifying the correct port when trying to acces the registry.

Expected behavior

I open the repositories list and it sends a request to https://localhost:5000/v2/_catalog?n=20&last=

Actual behavior

It sends a request to https://localhost/v2/_catalog?n=20&last=

Steps to reproduce the problem

docker run
-d
-e ENV_DOCKER_REGISTRY_HOST=0.0.0.0
-e ENV_DOCKER_REGISTRY_PORT=5000
-e ENV_USE_SSL=yes
-v /certs/registry.crt:/etc/apache2/server.crt:ro
-v /certs/registry.key:/etc/apache2/server.key:ro
-p 443:443
konradkleine/docker-registry-frontend:v2

This is a problem for me with and without SSL. If I run the front end specifying I want it on port 8000 it will send a web request to port 8000 expecting the registry service to be there.

I must be configuring something incorrectly!

Thanks

Russ

@derPinguin
Copy link

Take a look at issue #170 or #181, #170 did the trick for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants