You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use case:
Docker uses in many test environments. Sometimes, you need to create dozens of container, tied with dozens of nets.
It is very convenient to do this topologies automatically with dynamic addresses.
But, due the test cases, some containers can be started\stopped in random order. Also several containers in one network can be stopped and runned in random order.
This implies changes of ip address in containers. And this is a key problem, because not all software can dynamically adjust their configs in this situation.
Creation of similar topologies with static config is tremendously painful, and described ability can help.
Proposal:
Add parameter --sticky for 'docker network connect' command (or allow empty --ip parameter).
It woud give ability to automatic assign static address to docker. This address will be considered as allocated to this container until container removal, even this container is stopped,
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Description:
At now, we have abilities:
or
But we not have ability:
Something like
in isc-dhcpd
Use case:
Docker uses in many test environments. Sometimes, you need to create dozens of container, tied with dozens of nets.
It is very convenient to do this topologies automatically with dynamic addresses.
But, due the test cases, some containers can be started\stopped in random order. Also several containers in one network can be stopped and runned in random order.
This implies changes of ip address in containers. And this is a key problem, because not all software can dynamically adjust their configs in this situation.
Creation of similar topologies with static config is tremendously painful, and described ability can help.
Proposal:
Add parameter --sticky for 'docker network connect' command (or allow empty --ip parameter).
It woud give ability to automatic assign static address to docker. This address will be considered as allocated to this container until container removal, even this container is stopped,
Thanks in advance!
The text was updated successfully, but these errors were encountered: