Docker编织和WeaveDNS问题 [英] Docker Weave and WeaveDNS issues

查看:149
本文介绍了Docker编织和WeaveDNS问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的本地机器上运行的小型编织网络上设置了weaveDNS有问题。



现在,问题出现在事实上,当我运行编织状态时,我没有在输出中看到DNS部分(如在 http://docs.weave.works/weave/latest_release/weavedns.html )。



我正在运行4个集装箱。 编织ps 输出是:

  c1d106ed5717 c2:ce:53:49 :98:f6 10.0.1.12/24 
8f01765b2ba6 ba:2e:c3:4b:8f:8f 10.0.1.30/24
0d824d914383 ae:95:28:db:95:18 10.0.1.11/ 24
6cf985b91e9a 12:82:31:c2:b4:49 10.0.1.10/24
b43f86e9fb51 d6:2e:d4:6a:09:dc ** 10.0.1.200 / 24 **
2847dd89e90d为:8b:d5:74:07:94

突出显示的容器(10.0.1.200)是weaveDNS容器。最终的容器(2847dd89e90d)是Weave路由器容器。



我正在启动容器:

  sudo编织运行--with-dns 10.0.1.30/24 -h service.weave.local --name service service_img_name 

有没有人知道为什么编织状态不显示DNS部分?

如果您需要我给你一些关于编织设置的附加信息,请让我知道。

解决方案

您是否使用发布版本(0.9。编织时的0)

  $ sudo编织版
编织脚本0.9.0
编织路由器0.9.0
编织DNS 0.9.0
编织工具0.9.0

如果是这样,问题是文档跟踪当前主控,而不是最新版本 - 在编织状态中包含weaveDNS状态输出是0.9-0后的功能。我提出了一个问题,以支持文档的版本控制,以避免将来出现此问题。 / p>

I'm having an issue with setting up weaveDNS on a small weave network that I have running on my local machine.

For now the problem manifests itself in the fact that when I run 'weave status' I'm not seeing a DNS section in the output (as its suggested in the Troubleshooting section of http://docs.weave.works/weave/latest_release/weavedns.html).

I'm running 4 containers. weave ps output is:

c1d106ed5717 c2:ce:53:49:98:f6 10.0.1.12/24  
8f01765b2ba6 ba:2e:c3:4b:8f:8f 10.0.1.30/24  
0d824d914383 ae:95:28:db:95:18 10.0.1.11/24  
6cf985b91e9a 12:82:31:c2:b4:49 10.0.1.10/24  
b43f86e9fb51 d6:2e:d4:6a:09:dc **10.0.1.200/24**  
2847dd89e90d be:8b:d5:74:07:94

The highlighted container (10.0.1.200) is the weaveDNS container. The final container (2847dd89e90d) is the Weave router container.

I'm starting containers with:

sudo weave run --with-dns 10.0.1.30/24 -h service.weave.local --name service service_img_name 

Does anyone have an idea why weave status is not showing a DNS section?
If you need me to give you additional info on the Weave setup, please let me know.

解决方案

Are you using a release version (0.9.0 at time of writing) of weave?

$ sudo weave version
weave script 0.9.0
weave router 0.9.0
weave DNS 0.9.0
weave tools 0.9.0

If so the problem is that the documentation tracks current master, not the latest release - inclusion of weaveDNS status output in weave status is a post-0.9.0 feature. I've raised an issue to support versioning of docs to avoid this problem in future.

这篇关于Docker编织和WeaveDNS问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆