Docker Community Forums

Share and learn in the Docker community.

Docker container linking breaks when linked container reboots


(Gauravsingh85) #1

Hi
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

  1. updated docker to 1.5 : this does not fixed the problem
  2. restart the application container . this solved the problem .

Do we have any solution which dynamically updates application container without rebooting the container ?