Skip to content

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

Notifications You must be signed in to change notification settings

girikuncoro/container-networking

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

References

https://blog.scottlowe.org/2013/09/04/introducing-linux-network-namespaces/
Kristen Jacobs, KubeCon North America: https://www.youtube.com/watch?v=6v_BDHIgOY8

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 45.7%
  • Vim Script 29.4%
  • Ruby 13.9%
  • Makefile 11.0%