一般是服务器和sentinel时间不一致造成的,改成一致即可
加上下面的clientIp
cloud:
sentinel: #开启sentinel监控
transport:
dashboard: 8.130.171.58:8858 #配置地址端口
clientIp: localhost
在虚拟机安装
yum install ntpdate
执行下面命令
ntpdate ntp1.aliyun.com
docker restart sentinel #这里写你的sentinel服务名
重启服务解决