Skip to main content

Docker Networking

Host and Overlay Networks

0:00
LearnStep 1/4

Host Network Driver

Host Networking Mode

What is Host Networking?

Host networking removes network isolation between the container and the Docker host. The container uses the host's networking stack directly.

When to Use Host Networking

  • Performance: Maximum network throughput, minimal latency
  • Port Requirements: Apps needing many ports
  • Network Tools: Monitoring, packet capture, network analysis
  • Legacy Apps: Applications expecting specific network configuration

Using Host Network

bash

Host Network Characteristics

text

Important Considerations

bash