Jérôme Petazzoni

Unionize: network superpowers for your docker containers

Some people asked for special network setups with docker containers: Bryan Berry wants to run Cassandra nodes and specify their IP addresses [1]; Matt Parlane wants to expose arbitrary IP addresses to docker containers [2]; Jeremy Grosser wants to plumb docker containers with openvswitch; I personally want to play with doozerd[3], but it requires UDP, which is not yet available in docker. Generally speaking, specifying IP addresses for containers obviously leads to setups which are not reproducible. But it is also obviously very useful for many test setups. To encourage people to use docker in those scenarios (rather than switching to plain LXC!), let me introduce: unionize[4]. Unionize: is a simple bash script, using basic tools (brctl, ip, ifconfig) lets you create private networks for your containers lets you connect containers with the outside world, in arbitrary topologies. Sample use: Continue reading…