Re:Docker containers should not run an SSH server
by cpuguy83 on Thursday June 26, 2014 @02:40PM
(#7950976)
And how does running it all in the same container make it easier to discover? All services listening on localhost?
[ Parent
| on HN ]
Re:Docker containers should not run an SSH server
by opendais on Thursday June 26, 2014 @02:49PM
(#7951024)
More or less, yes.
Every instance of the app has static locations for every service it talks to so it doesn't need to care what location. Every docker container has a health check for the load balancer and registers itself with the load balancer on startup.
I don't run something like Cassandra or MySQL in docker.
Re:Docker containers should not run an SSH server
by cpuguy83 on Thursday June 26, 2014 @02:55PM
(#7951050)
Did you know you can have containers share a network namespace, so effectively containers can have the same localhost?
Re:Docker containers should not run an SSH server
by opendais on Thursday June 26, 2014 @03:17PM
(#7951147)
That is one more thing for me to setup and manage. There is no reason to do that when your scale is small enough that you handle it with 2 load balancers.