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.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.