Docker受信任的registry – 无法满足可用的容器插槽

我正在尝试安装Docker Truster Registry(DTR)。 我正在执行以下命令:

docker run -it --rm \ docker/dtr install \ --ucp-url https://10.000.000.125 \ --ucp-node node123 \ --dtr-external-url https://10.000.000.97 \ --ucp-username admin --ucp-password admin \ --ucp-ca "$(cat ucp-ca.pem)" \ 

我收到以下错误:

 ERRO[0000] Make sure that there is a node in your UCP cluster where port 80 and port 443 are open. Also confirm that all UCP node have the DTR images or can obtain them from Docker Hub. FATA[0000] Problem running container 'dtr-phase2' from image 'docker/dtr:2.0.2': Couldn't create container 'dtr-phase2' from image 'docker/dtr:2.0.2': Error response from daemon: Unable to find a node that satisfies the following conditions [available container slots] [node==node123 node!=node123] 

我能ping从我试图安装DTR的服务器。 我不知道这个问题是什么意思。 我感谢任何帮助

我试图重现你的问题(使用试用DTR许可证)。

我假设您正在安装DTR的节点已经join到UCP集群,并且您可以testing从DTR节点到UCP控制器上的TCP端口443的连接。

根据文件 :

dtr-external-url, is the public IP or domain name where DTR can be reached

所以,正确地说,你的情况下,– --dtr-external-url应该是10.000.000.97 (尽pipe我同意参数名有点误导)。

在不了解UCPconfiguration的任何细节(如networking等)的情况下很难提供build议。 但考虑到错误消息,我build议validation您的DTR节点的主机名是否确实设置为node123并正确parsing为10.000.000.97