Suggest an editImprove this articleRefine the answer for “What is the host network?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)`host` is a type of Docker network in which the container does not get its own network space, but uses the host's network stack directly. **Key point:** the `host` network is a mode in which Docker disables network isolation and the container runs on the host's network.Shown above the full answer for quick recall.Answer (EN)Image`host` is a type of Docker network in which the container **does not get its own network space**, but uses the host's network stack directly. In other words, the container "lives" on the host machine's network and works as a regular process on it. --- ### **What this looks like** - the container **has no separate IP address**; - it uses the host's IP; - the container's ports and the host's ports are the same thing. Example run: ```bash docker run --network host nginx ``` Now Nginx is accessible on the host's port without `-p 80:80`. --- ### **When this is convenient** - when maximum network speed is needed (no NAT); - when the application works with network interfaces directly (VPN, monitoring, network daemons); - when direct access to the host's [localhost](http://localhost) matters. --- ### **Downsides** | Downside | The gist | |---|---| | No isolation | The container shares the network with the host, higher risk | | Possible port conflicts | One port for the whole server | | Less flexible | Harder to manage network rules | --- ### **Summary** The `host` network is a mode in which Docker **disables network isolation**, and the container runs on the host's network. It is fast and "direct", but less secure and less flexible compared to `bridge`.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.