-
Notifications
You must be signed in to change notification settings - Fork 617
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
docker swarm some times register eth0 other eth1 #652
Comments
You can set the
|
We could possibly introduce go-sockaddr parsing of the addresses to make that a bit more dynamic. |
@leprechau Before the container starts, I don't know about Ip. |
Or like consul |
@viest that's what consul, nomad and other HashiCorp products use ... that's the go-sockaddr project. |
Yes, I'm looking forward to joining this feature. |
Would you be open to submitting a PR to handle go-sockaddr parsing of the various places |
Clusters rely on this feature. |
…the proxy local ip - fixes fabiolb#652
I created #653 to address this issue. |
It's so cool. @magiconair @pschultz please merge master, thanks. |
@viest we're just waiting on a review. |
I need this new feature so much, in my cluster. But I think the main line was the latest merger 7 days ago. |
/ # ifconfig eth0 Link encap:Ethernet HWaddr 02:42:0A:00:07:97 inet addr:10.0.7.151 Bcast:10.0.7.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1450 Metric:1 RX packets:835 errors:0 dropped:0 overruns:0 frame:0 TX packets:817 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:473052 (461.9 KiB) TX bytes:97115 (94.8 KiB) eth1 Link encap:Ethernet HWaddr 02:42:0A:FF:06:F7 inet addr:10.255.6.247 Bcast:10.255.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1450 Metric:1 RX packets:67 errors:0 dropped:0 overruns:0 frame:0 TX packets:44 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:9171 (8.9 KiB) TX bytes:23480 (22.9 KiB) eth2 Link encap:Ethernet HWaddr 02:42:AC:12:00:04 inet addr:172.18.0.4 Bcast:172.18.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
fabio output:
consul check
I'm gonna use the
eth0
network. What am I supposed to do?The text was updated successfully, but these errors were encountered: