10

I have a private docker registry like myregistry.com:5000. I can push and pull images in client and it is working fine. But when I go to https://myregistry.com:5000/v1 in browser, I get error 404 page not found. Is there any way to access registry in browser?

saurg
  • 327
  • 1
  • 3
  • 17

2 Answers2

11

The url should be https://myregistry.com:5000/v2.

But regarding UI, you have several projects dedicated to browse a docker registry, like:

VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Thanks for your response but isn't there any way to access url https://myregistry.com:5000/v2 without using `kwk/docker-registry-frontend`? – saurg Sep 27 '16 at 09:12
  • 1
    @saurg no, as mentioned in Elton's answer. You need to install a tool to browse that registry. – VonC Sep 27 '16 at 09:22
  • how to use this frontend with SSL encryption enabled if I have my files at `/certs/domain.crt` and `/certs/domain.key` in reference with `kwk/docker-registry-frontend` ? – saurg Oct 17 '16 at 13:19
  • @saurg That I am not sure: ask a new question, and close (ie select an accepted answer) for this one. – VonC Oct 17 '16 at 13:31
  • thanks for the suggestion. I've put a new question at http://stackoverflow.com/questions/40087966/private-docker-registry-frontend-with-ssl-encryption. If you can ask anyone to answer, that would be great. – saurg Oct 17 '16 at 13:40
  • @saurg By asking a new questions, you jsut "asked everyone" to answer! In the meantime, don't forget to read http://stackoverflow.com/help/accepted-answer – VonC Oct 17 '16 at 13:43
  • I am facing an issue in kwk frontend that v2 sometimes when I click on "Browse Repositories" on the main page it goes to "http://localhost/repositories/20" (searches for 20; which shows nothing obviously). – saurg Oct 19 '16 at 11:29
  • @saurg OK. Again asking a new question is best here. – VonC Oct 19 '16 at 11:33
8

The registry:2 image doesn't have a Web UI - it's not a local version of Docker Hub, it just has the core registry functionality and the REST API.

You can query the API directly:

> curl http://localhost:5000/v2/_catalog
{"repositories":[]}  

If you want a Web UI like the Hub, try Docker Trusted Registry.

Elton Stoneman
  • 17,906
  • 5
  • 47
  • 44
  • 1
    For people interested in DTR, note that installing it requires docker UCP (https://docs.docker.com/datacenter/dtr/2.4/guides/admin/install/#step-2-install-ucp), which requires docker EE (enterprise edition) (https://docs.docker.com/datacenter/ucp/2.2/guides/admin/install/#step-2-install-docker-ee-on-all-nodes). – lampShadesDrifter Dec 28 '18 at 00:58