hashicorp / docker-consul

Official Docker images for Consul.
Mozilla Public License 2.0
398 stars 238 forks source link

Consul Docker image with bridge mode #192

Open oxycash opened 1 year ago

oxycash commented 1 year ago

Can we not use docker image in bridge mode ? whenever we not use host network, it joins cluster and says

sudo docker run --rm -p 8300:8300/tcp -p 8300:8300/udp -p 8301:8301/tcp -p 8301:8301/udp -p 8302:8302/tcp -p 8302:8302/udp -p 8500:8500/tcp -p 8500:8500/udp -p 8501:8501/tcp -p 8501:8501/udp -p 8502:8502/tcp -p 8502:8502/udp -it consultest:latest /bin/sh

2023-03-16T18:33:21.965Z [WARN]  agent.client.memberlist.lan: memberlist: Was able to connect to node01 over TCP but UDP probes failed, network may be misconfigured
2023-03-16T18:33:22.966Z [WARN]  agent.client.memberlist.lan: memberlist: Was able to connect to node03 over TCP but UDP probes failed, network may be misconfigured
oxycash commented 1 year ago

Does serf lan use udp unicast or is it multicast/broadcast?