MUCZ / container-networking

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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/

About

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

License:MIT License


Languages

Language:Shell 53.0%Language:Vim Script 34.0%Language:Makefile 13.0%