'Defining subnet size in Compose file
I'm working on a Compose application that creates a lot of networks, and often has multiple instances running. The problem is that with Docker's default settings, it quickly uses up all the available address space. Is there a way to define the subnet size for the networks that it creates while still allowing Compose to dynamically assign the subnets? Statically defining subnets for each network won't work because each application instance will try to use the same address ranges.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
