/container-networking

Container networking from scratch, from a single namespace to an overlay network.

Primary LanguageShellMIT LicenseMIT

Container Networking

Examples of creating a network of linux containers (network namespaces).

1 - Network Namespace

2 - Single Node

3 - Multi Node

4 - Overlay Network

Installation

OSX

brew cask install virtualbox
brew cask install vagrant
vagrant plugin install vagrant-vbguest

Linux

sudo apt-get install virtualbox
sudo apt-get install vagrant
vagrant plugin install vagrant-vbguest

Setup

To bring up the VMs for all examples:

make vagrant-up

Status

To check the status of the VMs for all examples:

make vagrant-status

Test

To run the tests for all examples:

make test

Teardown

To destroy the VMs for all of the examples:

make vagrant-destroy

Talks: 'Container Networking From Scratch'

References

https://blog.scottlowe.org/2013/09/04/introducing-linux-network-namespaces/