I recently created a docker network, and all my containers that needs to be exposed to DPS will belong to this network. However, as I have many containers, I found it tedious to always add a dps.network=myDpsNetwork label to all my containers. Therefore, it would be great if we can have an option in the configuration file to always use a specific network only.
This avoids the need to add a label to all containers, and make DPS resolve IPs using that network by default. The label should still exist, in case we want to override the default set in the configuration file.
Summary & Motivation
I recently created a docker network, and all my containers that needs to be exposed to DPS will belong to this network. However, as I have many containers, I found it tedious to always add a
dps.network=myDpsNetwork
label to all my containers. Therefore, it would be great if we can have an option in the configuration file to always use a specific network only.Example:
Goals
This avoids the need to add a label to all containers, and make DPS resolve IPs using that network by default. The label should still exist, in case we want to override the default set in the configuration file.