-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Labels
Description
I don't know, whether this is a variant of issue #226 but in environments with containers having multiple nics with rfc1918 addresses, consul-agent cannot decide to which of the nics it should bind in order to talk to the consul-master/cluster:
"Error starting agent: Failed to get advertise address: Multiple private IPs found. Please configure one. [/usr/local/bin/consul agent -data-dir=/data -config-dir=/config -rejoin -retry-join consul.cluster -retry-max 10 -retry-interval 10s] exited: exit status 1"
Is there an easy way to determine the respective ip address and configure consul-agent accordingly?