Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
docker_notes:docker [2025-06-21 Sat wk25 12:12] – [Networks] baumkp | docker_notes:docker [2025-06-21 Sat wk25 12:15] (current) – [Networks] baumkp | ||
---|---|---|---|
Line 289: | Line 289: | ||
* '' | * '' | ||
- Host (Appears on the host machine as if installed there, no separate network.) | - Host (Appears on the host machine as if installed there, no separate network.) | ||
+ | -If you use the host network mode for a container, that container' | ||
- MACVLAN | - MACVLAN | ||
-The macvlan network assigns a unique MAC address to each container, making it appear to be a physical device on your network, just like a traditional virtual machine. The Docker daemon then routes the traffic to containers on the basis of their MAC address. It also allows you to assign an IP address from the same subnet in which the Docker host resides. This avoids the use of the host network, there is no NAT overhead, and you won't run into network performance issues. | -The macvlan network assigns a unique MAC address to each container, making it appear to be a physical device on your network, just like a traditional virtual machine. The Docker daemon then routes the traffic to containers on the basis of their MAC address. It also allows you to assign an IP address from the same subnet in which the Docker host resides. This avoids the use of the host network, there is no NAT overhead, and you won't run into network performance issues. |