无法安装Docker DTR

时间:2020-06-07 18:38:17

标签: docker docker-ucp

我正在尝试使用下面提到的命令安装docker DTR,但失败了

命令:

docker run -it --rm docker/dtr install \

  --ucp-node mbk-srv-389-ub \

  --ucp-username admin \

  --ucp-url https://172.16.217.1 \

  --ucp-insecure-tls

但是它给出了错误

错误:

FATA[0006] Failed to choose ucp node: The UCP node 'mbk-srv-389-ub' has port conflicts, please pick another node or choose a different port. 

所以我尝试添加端口445 **--ucp-url https://172.16.217.1:445**,因为UCP也使用了端口443,但是它显示了另一个错误。

错误:

FATA[0006] Failed to get new conv client: failed to create http client: Failed to get UCP CA: Get https://172.16.217.1:445/ca: dial tcp 172.16.217.1:445: connect: connection refused 

信息: 端口445在防火墙上打开。 端口445上没有其他服务在运行

1 个答案:

答案 0 :(得分:0)

DTR需要443端口空闲,如果443端口不空闲,则安装将失败。

使用--controller-port将UCP安装到443以外的任何端口,然后安装DTR,它将起作用