-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
consul 起不来 #130
Comments
这个问题我遇到过,是docker-daemon.json中设置的docker私网地址不是172这种私网地址了,你改成172.18.0.0然后
|
哦,确实是这样的,虚拟机的网址和公司网址,都是192导致内网ip无法反问,所有我改了子网址。
|
consul识别到docker网段为非私网地址就会起不来,应该设计上就是这样的,改成172.18,172.16这种私网地址就可以,我之前出问题的时候,docker网段设置的是198.18网址,结果查了一下是保留网段,所以也同样起不来 |
好的 |
1.按照官方文档执行all_install.sh脚本,生成compose文件,这里需要root权限
2.进入/opt/tensuns 执行 docker compose up
3.发现consul启动不了日志如下
4./opt/tensuns/docker-compose.yaml如下
5./opt/tensuns/consul/config/consul.hcl 如下
The text was updated successfully, but these errors were encountered: