Basic Analysis of Docker Networking

Samyukta S Hegde, Jayarekha P


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.


docker; linux; network; namespaces; containers

Full Text:



Simulate a LAN with Linux Network NameSpaces by Chandan available at

Simulate a Router with Linux Network NameSpaces by Chandan, available at

Introducing Linux Network Namespaces, Scotts Weblog, available at

Cgroups, namespaces, and beyond: what are containers made from? with Jérôme Petazzoni, Tinkerer Extraordinaire, Docker, available at

Docker container networking, docker docs, available at

Customize the docker0 bridge, docker docs, available at

Stackoverflow Blog post on “Communicating between Docker containers in different networks on the same host” available at

StackOverflow post available at



  • There are currently no refbacks.

Copyright (c) 2017 International Journal of Advanced Research in Computer Science