加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

在Docker中,“来自守护程序的错误响应:无法选择要广告的IP地址,

发布时间:2020-12-16 03:44:08 所属栏目:安全 来源:网络整理
导读:我的问题类似于docker swarm init could not choose an IP address error,但我发现接受的答案有些模糊,所以我会再问一遍.在尝试 docker swarm init 我正在发送错误消息 Error response from daemon: could not choose an IP address to advertise since this

我的问题类似于docker swarm init could not choose an IP address error,但我发现接受的答案有些模糊,所以我会再问一遍.在尝试

docker swarm init

我正在发送错误消息

Error response from daemon: could not choose an IP address to advertise since this system has multiple addresses on different interfaces (192.168.130.117 on enp1s0 and 192.168.130.89 on wlp2s0) – specify one with –advertise-addr

这可能是什么原因?我目前正在运行VPN(OneClickVPN);那是问题吗?

另外,为了使用–advertise-addr指定一个地址,我想了解更多有关消息中给出的地址的信息.我怎么能这样做?

看起来你有两个活动网络接口,一个在enp1s0上,另一个在wlp2s0上.我猜enp1s0是一个以太网连接,wlp2s0是一个WiFi连接.

如您链接的问题中所述,如果您在不同的接口上有多个地址,则必须使用–advertise-addr指定一个地址.在您的情况下,您实际上是在以太网和WiFi接口之间进行选择.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读