Docker networking explained

Konstantinos Patronas
LinuxStories
Published in
8 min readJan 30, 2021

--

Docker utilizes n architecture called Container Network Model (CNM) to manage container networking.

CNM is based on the following concepts

Network sandbox

Its all the network resources that the container will use, its an isolated environment by other containers and from the host

Endpoint

An Endpoint consists of two network interfaces, the one interface is connected to the Network sandbox of the container and the other one to a designated network. A network sandbox might have many

--

--

Konstantinos Patronas
LinuxStories

DevOps engineer, loves Linux, Python, cats and Rock music