Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access private docker registry in browser

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?

like image 886
saurg Avatar asked Sep 27 '16 05:09

saurg


People also ask

Can you pull private Docker image?

In order to pull images from your private repository, you'll need to login to Docker. If no registry URI is specified, Docker will assume you intend to use or log out from Docker Hub. Triton comes with several images built-in. You can view the available list with triton images .


2 Answers

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

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

  • kwk/docker-registry-frontend,
  • Portus (suse)
  • other referentials (like Nexus or GitLab)
like image 140
VonC Avatar answered Sep 20 '22 04:09

VonC


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.

like image 26
Elton Stoneman Avatar answered Sep 21 '22 04:09

Elton Stoneman