user3906723
user3906723

Reputation: 145

docker registry frontend (konradkleine/docker-registry-frontend) getting error when clicked on repository and also docker images are not seen

enter image description hereI am using docker registry frontend (konradkleine/docker-registry-frontend), when i browser the repository i am getting following error(attached image) when clicked on repository and also docker images are not seen in UI. Below is the dockercompose file which I am using.

---
version: '3'

services:
    docker-registry:
        container_name: docker-registry
        image: registry:2
        ports:
            - 5000:5000
        restart: always
        volumes:
            - ./volume:/var/lib/registry
    docker-registry-ui:
        container_name: docker-registry-ui
        image: konradkleine/docker-registry-frontend:v2
        links:
            - docker-registry:docker-registry
        ports:
            - 8080:80
        environment:
            ENV_DOCKER_REGISTRY_HOST: docker-registry
            ENV_DOCKER_REGISTRY_PORT: 5000

Upvotes: 0

Views: 3023

Answers (3)

Tomas
Tomas

Reputation: 81

I have same problem with (latest) registry and konradkleine (v2) registry-frontend. Button Browse Repositories directs to the port where registry frontend is running.

In my case i have access to the registry-frontend from: https://192.168.1.105:31652/home

And button Browse Repositories try redirect from: https://192.168.1.105:31652/repositories/20

to

https://192.168.1.105:31652/v2/_catalog?n=20&last=

but this resource is available at:

192.168.1.105:5000/v2/_catalog?n=20&last=

in effect i receive:

GET https://192.168.1.105:31652/v2/_catalog?n=20&last= 503 (Service Unavailable)

Upvotes: 0

Konrad Kleine
Konrad Kleine

Reputation: 4479

Please open an issue here, so we can keep track of it, okay? https://github.com/kwk/docker-registry-frontend/issues/new

Also, please have a look at this document: https://github.com/kwk/docker-registry-frontend/tree/v2/example-setup to see if it solves the problem.

Upvotes: 2

Niklas
Niklas

Reputation: 1620

Related to this issue probably: https://github.com/kwk/docker-registry-frontend/issues/20

Speculated solution is to add link in UI section (service:env_variable) as:

links:
        - docker-registry:docker-registry

Upvotes: 0

Related Questions