Docker Community Forums

Share and learn in the Docker community.

How to disable ipam?

How do i create macvlan, ipvlan or any network without docker’s ipam driver ?

docker network create -d macvlan -o mode=passthru -o parent=eth1 macv
Docker assigned address range is not be reachable over lan.
docker network inspect macv
“IPAM”: {
“Driver”: “default”,
“Options”: {},
“Config”: [
“Subnet”: “”,
“Gateway”: “”

Thank You

Did you try to add --ipam-driver=null to your create command?

1 Like

This results in

docker network create -d macvlan --ipam-driver=null -o mode=passthru -o parent=enx3c18a00c4736 lan
Error response from daemon: ipv4 pool is empty

See also Want to create multiple isolated (local, internal) networks with identical subnets · Issue #40509 · moby/moby · GitHub