You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to set my bind interface through CONSUL_BIND_INTERFACE and it is pulling the correct IP for the interface but it is still giving me an error:
[fakeuser@fakeserver fakedir]$ docker run -it --rm --net=host -e "CONSUL_BIND_INTERFACE=eth1" consul consul agent -client=0.0.0.0 -ui -retry-join=server1.us.local -retry-join=server2.us.local -retry-join=server3.us.local -data-dir=/tmp/consul
==> Found address '100.73.14.171' for interface 'eth1', setting bind option...
==> Starting Consul agent...
==> Error starting agent: Failed to get advertise address: Multiple private IPs found. Please configure one.
When I run it and fill in the bind address manually it works:
I am trying to set my bind interface through CONSUL_BIND_INTERFACE and it is pulling the correct IP for the interface but it is still giving me an error:
When I run it and fill in the bind address manually it works:
I'm not sure why its not working as its getting the right bind address to pass to -bind.
The text was updated successfully, but these errors were encountered: