访问 https://192.168.205.13/manage/settings/dtr 即可看到 Docker Trusted Registry 选项

  • 选择将DTR安装在worker节点而不是manager节点上
  • 设置DTR EXTERNAL URL为worker节点对应的ip:https://192.168.205.14
  • Disable TLS verification for UCP

运行自动生成的shell语句

[vagrant@docker-ee-work ~]$ docker run -it --rm docker/dtr install --dtr-external-url https://192.168.205.14 --ucp-node docker-ee-work --ucp-username admin --ucp-url https://192.168.205.13 --ucp-insecure-tls

然后我们通过如下链接就可以访问DTR了

https://192.168.205.14/

思过崖
65 声望19 粉丝

从转行到入门,记录我的自学成长之路