15

Understanding Docker – Network Namespaces

 3 years ago
source link: https://zwischenzugs.com/2015/11/21/understanding-docker-network-namespaces/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Currently co-authoring a book on Docker:

Get 39% off with the code 39miell

dip

tl;dr

A video showing how to set up two namespaces to talk to each other based on this excellent tutorial.

30418.png

Source available here.

What it does

To many developers, networking is a bit of a mystery; it’s the thing to blame when things go wrong.

I’ve been forced to learn about networking more as a result of getting into Docker, and as a result have taught myself some basics.

In this video, (based on this awesome set of tutorials) I take the viewer through the process of setting up network namespaces (a key aspect of Docker’s isolation technology), and use OpenVSwitch (a virtualised switching tool) to act as a bridge between the two networks in the so-called ‘root namespace’. All of this takes place within a VM.

Enjoy!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK