Docker Networking

Docker macvlan network driver

Distinct endpoint MAC addresses through a parent interface. Linux-only, not rootless or Desktop for Mac/Windows. Host communication and underlay restrictions require review. Network-owner approval is required for extra link-layer identities.

Formal Syntax & Structure

docker syntaxdocker
Docker macvlan network driver

Working Example

Example Snippetdocker
Synthetic switch constraint: one learned MAC permitted per parent portMacvlan: parent + separate endpoint MACsIPvlan L2: parent MAC shared by endpoint IPsIPvlan L3: upstream routing to endpoint prefixes
Docker Reference