Soláthraíonn Docker roinnt tiománaithe líonra (bridge, host, overlay, macvlan, none) do riachtanais nascachta éagsúla, móide gnéithe ar nós líonraí sainmhínithe ag úsáideoir le fionnrú seirbhíse bunaithe ar DNS. Tá sé tábhachtach tuiscint a bheith agat ar líonraithe go domhain ionas go mbeidh tú ábalta feidhmchlár ilthacar agus ilóstach a nascadh i gceart.
Tiománaithe líonra
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).
