Skip to content
MightyDetail edited this page Sep 18, 2021 · 12 revisions

coming soon...

Macvlan

docker network create -d macvlan --subnet=IPv4/24 --gateway=IPv4GatewayIP --subnet=IPv6::/64 --gateway=IPv6::1 -o parent=eth0 -o macvlan_mode=bridge NAME

Sample Docker Compose file

` version: '3.3'

services: test: image: ... container_name: test restart: unless-stopped networks: NAME: ipv4_address: 10.2.... ipv6_address: ::1

networks: NAME: external: name: NAME `

Clone this wiki locally