News for hackers. Stuff that matters.
Re:One way to make containers network: BGP by bboreham on Sunday July 17, 2016 @06:06PM (#12112095)
> what's wrong with the Docker approach of rewriting ports

It requires that you rewrite the software trying to talk to that port, to make it aware that you've put the new port number in a special environment variable.

Re:One way to make containers network: BGP by sargun on Sunday July 17, 2016 @08:53PM (#12112678)
Have you looked at Docker bridge mode? and Mesosphere's VIPs?

What do you think of them?

Re:One way to make containers network: BGP by bboreham on Monday July 18, 2016 @02:36AM (#12113523)
Docker bridge only works between containers on one machine; this is exactly why we wrote Weave Net two years ago, to let you network simply between containers running anywhere.

I hadn't considered using Virtual IPs to reverse out port-mapping. I guess it would work provided you have good connectivity between hosts - it would be a nightmare to try to configure a firewall where the actual ports in use jump around all the time.

Also such schemes require that you know in advance which ports each component listens on, and that there are no loops in the graph. Both of these requirements can be constraining.