docker network create --ip-range 172.20.0.0/24 mynet
Category: Docker
docker network create --ip-range 172.20.0.0/24 mynet
Restrict container IP allocation to a sub-range of the subnet
Restricts the IP addresses that can be assigned to containers to a sub-range of the subnet.