3 ms·
Have you managed to get this setup to continue working after one of the containers restarts? That is a problem with container linking I have yet to find an answ
by reustle 12y ago
Have you managed to get this setup to continue working after one of the containers restarts? That is a problem with container linking I have yet to find an answer for.
- wernerb 12y agoYou can use an ambassador such as listed here [0]. [0] https://docs.docker.com/articles/ambassador_pattern_linking/ https://docs.docker.com/articles/ambassador_pattern_linking/
- theod 12y agoSome of the container restart issues related to Links were resolved in 1.4+ & 1.5 releases. Please refer to the thread https://github.com/docker/docker/issues/6350 https://github.com/docker/docker/issues/6350. Also, the network model is being revamped via https://github.com/docker/docker/issues/9983 https://github.com/docker/docker/issues/9983 to provide a more flexible plugins based Networking system which can also provide multi-host solution that is more powerful than the existing single-host multi-container linking system.
- spoxrHQ 12y agoVery good question, sorry I don't have a good enough answer for that right now. I only needed this setup for testing and not really a production environment, so data persistence wasn't a requirement. Once I have a satisfactory approach, I'll post a solution.