Network namespace vs custom docker network

Hello,

What is the difference between network namespace and custom docker network ?

when to use each ?

Hi @rsimos

Network namespace is a low-level Linux abstraction at the kernel level, and Docker networks use these to create a new network under the hood for docker containers.
When working from user space, docker network provides a utility feature to operate on networking required for containers.