Skip to content

Commit a2909ab

Browse files
committed
Engine: note that macvlan containers can't reach the host
Signed-off-by: Rob Murray <[email protected]>
1 parent 6ec12e0 commit a2909ab

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

content/manuals/engine/network/drivers/macvlan.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ Keep the following things in mind:
3232
overlay (to communicate across multiple Docker hosts), these solutions may be
3333
better in the long term.
3434

35+
- Containers attached to a macvlan network cannot communicate with the host
36+
directly, this is a restriction in the Linux kernel. If you need communication
37+
between the host and the containers, you can connect the containers to a
38+
bridge network as well as the macvlan. It is also possible to create a
39+
macvlan interface on the host with the same parent interface, and assign it
40+
an IP address in the Docker network's subnet.
41+
3542
## Options
3643

3744
The following table describes the driver-specific options that you can pass to

0 commit comments

Comments
 (0)