A Guide to Container Networking: Part II - Network Namespaces and Linux Bridges | HackerNoon
Briefly

Linux Namespaces are a crucial feature of the Linux kernel that enable process isolation by partitioning kernel resources, allowing distinct views of system resources for separate processes.
Starting with kernel version 5.6, there are eight types of namespaces with network namespaces specifically virtualizing the network stack and containing only a loopback interface upon creation.
Creating network namespaces and attaching virtual Ethernet (veth) pairs allow processes in different namespaces to communicate while ensuring that each namespace's interfaces remain hidden from one another.
The ip-netns utility simplifies managing network namespaces by allowing users to create, list, and execute commands within a specified namespace, effectively enabling network isolation.
Read at Hackernoon
[
|
]