Docker বিভিন্ন নেটওয়ার্ক ড্রাইভার (bridge, host, overlay, macvlan, none) প্রদান করে যা বিভিন্ন সংযোগের চাহিদা পূরণ করে, সাথে ব্যবহারকারী-সংজ্ঞায়িত নেটওয়ার্ক এবং DNS-ভিত্তিক সেবা আবিষ্কার সুবিধাও রয়েছে। মাল্টি-কন্টেইনার এবং মাল্টি-হোস্ট অ্যাপ্লিকেশনগুলিকে সঠিকভাবে সংযুক্ত করার জন্য নেটওয়ার্কিং গভীরভাবে বোঝা গুরুত্বপূর্ণ।
নেটওয়ার্ক ড্রাইভার
BRIDGE (default) → a private internal network on a single host; containers communicate;
isolated from the host except via published ports. USER-DEFINED bridges add DNS
(containers reach each other by name) — preferred over the default bridge.
HOST → the container uses the host's network stack directly (no isolation, no port
mapping needed) — max performance, less isolation.
OVERLAY → spans MULTIPLE hosts → containers on different machines communicate
(for Docker Swarm / multi-host clusters).
MACVLAN → gives a container its own MAC/IP on the physical network (appears as a
physical device).
NONE → no networking (fully isolated).
