News for hackers. Stuff that matters.
Re:Docker containers should not run an SSH server by opendais on Thursday June 26, 2014 @04:40PM (#7951481)
It is why I used it as an example. Nginx+php-fpm = web app role, easy to conceptualize as a single service, and in many workplaces might be the entire depth of a given service [except for the database].

> There are two tricky parts though: getting both underlying processes to log to the container's stdout/stderr, and getting them both to shut down cleanly in response to a SIGTERM to the supervisor.

I was simplifying it for purposes of example. The reality is I'd have a log-shipper as well shipping logs. I don't need it to dump to the container's stdout/stderr because its all in [insert log management application here].

They shutdown as cleanly enough as-is without worrying about it too much as well.

There are no comments on this comment yet.