Open RussellTaylor83 opened 6 years ago
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.
I open the repositories list and it sends a request to https://localhost:5000/v2/_catalog?n=20&last=
It sends a request to https://localhost/v2/_catalog?n=20&last=
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
Take a look at issue #170 or #181, #170 did the trick for me
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