簡體   English   中英

端口被阻止:無法使用 VMware 在 Ubuntu 來賓上安裝 Docker 通用控制平面

[英]Ports are blocked: Can't install Docker Universal Control Plane on Ubuntu guest using VMware

我正在嘗試在 VMware 上的 Ubuntu 來賓虛擬機(在 Windows 10 主機上,具有橋接網絡)上安裝 DCP(Docker 通用控制平面),以便在其上安裝和使用 DTR(Docker 可信注冊)。

這個命令

docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock --name ucp docker/ucp install -i --host-address 172.17.9.102

返回:

INFO[0000] Verifying your system is compatible with UCP 
INFO[0000] Your engine version 1.12.1, build 23cf638 (4.4.0-31-generic) is compatible 
Please choose your initial UCP admin password: 
Confirm your initial password: 
INFO[0007] All required images are present              
WARN[0007] None of the hostnames we'll be using in the UCP certificates [ubuntu 127.0.0.1 172.17.0.1 172.17.9.102] contain a domain component.  Your generated certs may fail TLS validation unless you only use one of these shortnames or IPs to connect.  You can use the --san flag to add more aliases 

You may enter additional aliases (SANs) now or press enter to proceed with the above list.
Additional aliases: 
INFO[0009] Installing UCP with host address 172.17.9.102 - If this is incorrect, please specify an alternative address with the '--host-address' flag 
INFO[0000] Checking that required ports are available and accessible 
FATA[0032] The following required ports are blocked on your host: 12385, 12383, 12376, 12379, 12384, 12381, 2376, 12382, 12386, 12380, 443.  Check your firewall settings.  

所以大家有沒有辦法解決這個問題? 是否可以僅為虛擬機打開這些端口? 所以,我的意思是有與此不同的“防火牆”設置?

附注。 我想我不允許更改主機操作系統(Windows 10)上的防火牆設置。

謝謝!

看起來您已經安裝了 docker 1.12 並且在此基礎上更新了 docker 1.12-cs 引擎。 解決方案是,您刪除 docker 引擎二進制文件,再次安裝 docker 引擎 1.12-cs2 並嘗試。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM