Docker Networking
Docker host network driver
Native Linux shares host networking; ordinary port publishing is ignored. Desktop opt-in support from 4.34 has layer-4 and platform limitations. Assess socket conflicts and reduced isolation. Scope native host-mode examples to rootful Linux; check rootless behavior separately, including the Engine 29.5 change.
Formal Syntax & Structure
docker syntaxdocker
Docker host network driverWorking Example
Example Snippetdocker
Fictional native Linux host:existing process: TCP 127.0.0.1:9090proposed host-mode worker: TCP 127.0.0.1:9090bridge-mode alternative: container TCP 9090, no published port