Can not find any repository in main page
See original GitHub issueA docker private registry has been running in my server with the official registry image(docker.io), it can be visited from other machines by a the URL 192.168.17.129:5000 in HTTP method ,then the docker-registry-frontend was started with the following script:
docker run -d -e ENV_DOCKER_REGISTRY_HOST=192.168.17.129 -e ENV_DOCKER_REGISTRY_PORT=5000 -p 8080:80 konradkleine/docker-registry-frontend:v2
At last,when i visited the main page of docker-registry-frontend —http://192.168.17.129:8080/repositories/20 ,no any repository was shown in the web page,some errors appeared in the console of my chrome browser , a picture will be provided in the following text。
How can i solve the problem
By the way,the server OS is Centos 7.2,the version of docker is 1.12.6,and the registry is docker.io/registry:latest, expect helpful replies!
Issue Analytics
- State:
- Created 6 years ago
- Comments:7
Top GitHub Comments
I found the problem that the docker-registry-frontend container could not visit the register container in a same machine for the reason a error “No route to host” occurred when I executed the following goal in the docker-registry-frontend container:
curl http://192.168.17.129:5000/v2/_catalog
So I realized the real cause is that the register container could not connect by the the docker-registry-frontend container via network even though those two containers were in a same one machine,then I solved the problem with the following running command by a method of container link:
docker run -d -e ENV_DOCKER_REGISTRY_HOST=registry -e ENV_DOCKER_REGISTRY_PORT=5000 -p 8080:80 --link registry:registry konradkleine/docker-registry-frontend:v2
Thanks all !I am using Azure Container registry as my private docker registry. When running the container I specifed the host and port number of the Azure container registry. Where do I specify the container registry credentials when running this docker image? I only see a home page with empty repositories. Any help is greatly appreciated