An example script that creates vlan linux bridges, and connects docker containers running openwrt. Handy micro-segmentation for containers, yay.
- Tested on virtual instances of Ubuntu14.04LTS (aws, vmware)
- Install docker - https://www.docker.com/
- Install openvswitch - http://openvswitch.org/
- Install pipework - https://github.com/jpetazzo/pipework
First time: Uncomment the section that pulls the docker image and creates containers. After the first time: Leave that section commented.
$sudo ./network_wrt_containers.sh