Basic Analysis of Docker Networking

Main Article Content

Samyukta S Hegde
Jayarekha P

Abstract

Containerization is virtualization at operating system level as opposed to full machine virtualization. Docker is a tool that is used to create, ship and run applications inside containers. A single host can have multiple containers running on it. The containers may have to communicate with each other and by using docker networking, this can be accomplished. In this paper we explore docker networking and analyze how it is based on the concept of linux network namespaces. We will use Cisco Packet Tracer to implement a sample network. Then the same network will be implemented in Linux using ip tool. The same network will then be implemented using docker and the relationship between network namespaces and docker networking will be established.

Downloads

Download data is not yet available.

Article Details

Section
Articles
Author Biographies

Samyukta S Hegde, BMS College of Engineering

MTech Student, Department of ISE

Jayarekha P, BMS College of Engineering

Associate Professor, Department of ISE

References

Simulate a LAN with Linux Network NameSpaces by Chandan available at https://www.youtube.com/watch?v=cWKQ7YtZUTk

Simulate a Router with Linux Network NameSpaces by Chandan, available at https://www.youtube.com/watch?v=TlGdOx80Pqc

Introducing Linux Network Namespaces, Scotts Weblog, available at http://blog.scottlowe.org/2013/09/04/introducing-linux-network-namespaces/

Cgroups, namespaces, and beyond: what are containers made from? with Jérôme Petazzoni, Tinkerer Extraordinaire, Docker, available at https://www.youtube.com/watch?v=sK5i-N34im8

Docker container networking, docker docs, available at https://docs.docker.com/engine/userguide/networking/

Customize the docker0 bridge, docker docs, available at https://docs.docker.com/engine/userguide/networking/default_network/custom-docker0/

Stackoverflow Blog post on “Communicating between Docker containers in different networks on the same host†available at http://stackoverflow.com/questions/36035595/communicating-between-docker-containers-in-different-networks-on-the-same-host

StackOverflow post available at http://stackoverflow.com/questions/31265993/docker-networking-namespace-not-visible-in-ip-netns