Re:Basic Docker Container Linking with Node, Redis and Rethi...
by reustle on Sunday March 08, 2015 @04:17AM
(#9164996)
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.
[ Parent
| on HN ]
Re:Basic Docker Container Linking with Node, Redis and Rethi...
by theod on Sunday March 08, 2015 @01:05PM
(#9166209)
Some 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.
Also, the network model is being revamped via 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.
Re:Basic Docker Container Linking with Node, Redis and Rethi...
by spoxrHQ on Sunday March 08, 2015 @02:21PM
(#9166528)
Very 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.
Re:Basic Docker Container Linking with Node, Redis and Rethi...
by wernerb on Sunday March 08, 2015 @07:32AM
(#9165276)
You can use an ambassador such as listed here [0].
[0] https://docs.docker.com/articles/ambassador_pattern_linking/