I have two container application and database linked together . when ever we restart database container ( service database restart) the lining breaks as database container obtains a new IP and application container is not updated with new database IP
Things i tried
- updated docker to 1.5 : this does not fixed the problem
- restart the application container . this solved the problem .
Do we have any solution which dynamically updates application container without rebooting the container ?