Docker Weave and WeaveDNS issues

本秂侑毒 提交于 2020-01-01 11:32:27

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/29401418/docker-weave-and-weavedns-issues

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!