[英]Access private docker registry in browser
I have a private docker registry
like myregistry.com:5000
. 我有一个
private docker registry
如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
. 但是当我在浏览器中访问
https://myregistry.com:5000/v1
时,我收到错误404 page not found
。 Is there any way to access registry in browser? 有没有办法在浏览器中访问注册表?
The url should be https://myregistry.com:5000/v2 . 网址应为https://myregistry.com:5000/v2 。
But regarding UI, you have several projects dedicated to browse a docker registry, like: 但是对于UI,您有几个专门用于浏览docker注册表的项目,例如:
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 . registry:2
图像没有Web UI - 它不是Docker Hub的本地版本,它只具有核心注册表功能和REST API 。
You can query the API directly: 您可以直接查询API:
> curl http://localhost:5000/v2/_catalog
{"repositories":[]}
If you want a Web UI like the Hub, try Docker Trusted Registry . 如果您想要像Hub这样的Web UI,请尝试使用Docker Trusted Registry 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.