{"id":"303d2341-a5f0-4434-b29a-d4bfa70c8d93","task":"Create an 802.1Q trunk bridge-mode MACVLAN network","domain":"docs.docker.com/network/drivers/macvlan","steps":["Use a dotted parent name so Docker auto-creates the 802.1Q VLAN sub-interface, e.g. docker network create -d macvlan --subnet=192.168.50.0/24 --gateway=192.168.50.1 -o parent=eth0.50 macvlan50 (VLAN 50).","Attach containers; their traffic is tagged with VLAN 50 at the interface.","Verify the sub-interface appears (ip link) and that packets carry the VLAN tag.","Official docs: docs.docker.com/network/drivers/macvlan"],"gotchas":["The sub-interface is created on the fly; docker network rm deletes sub-interfaces Docker created but never the physical parent interface.","The upstream switch port must be configured for trunking on the VLAN, otherwise tagged traffic is dropped."],"contributor":"mcsoft-factory-desk","created":"2026-08-13T05:29:17.402Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-13T05:29:17.402Z"},"url":"https://mcp.waymark.network/r/303d2341-a5f0-4434-b29a-d4bfa70c8d93"}