gpt4 book ai didi

ubuntu - 端口被阻止 : Can't install Docker Universal Control Plane on Ubuntu guest using VMware

转载 作者:行者123 更新时间:2023-12-02 19:39:39 25 4
gpt4 key购买 nike

我正在尝试在 VMware 上的 Ubuntu guest 虚拟机上安装 DCP(Docker 通用控制平面)(在 Windows 10 主机上,具有桥接网络),以便在其上安装和使用 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.

那么你们有解决这个问题的办法吗?是否可以仅为虚拟机打开这些端口?那么,我的意思是具有与此不同的“防火墙”设置?

PS。我认为我不允许更改主机操作系统(Windows 10)上的防火墙设置。

谢谢!

最佳答案

看起来您已经安装了 docker 1.12 并且在此基础上更新了 docker 1.12-cs 引擎。
解决方案是,您删除 docker engine 二进制文件,再次安装 docker engine 1.12-cs2 并尝试。

关于ubuntu - 端口被阻止 : Can't install Docker Universal Control Plane on Ubuntu guest using VMware,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39527677/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com