On 9/30/16 7:28 AM, Miroslav Suchý wrote:
Dne 30.9.2016 v 15:35 Jan Pazdziora napsal(a):
> Is there some example of application that might happen to run next to
> mock? Running multiple applications in container is typically not
> trivial, so user might make an extra effort to achieve that setup.
I have no idea. People are weird sometimes. I can imagine something like httpd in
container (with some content used in
production), and something which runs Mock in that same container.
> Can't just just check that you are pid 1 in the container and be happy
> with that, if you want some safeguards?
What I have so far is:
I can add there that pid 1 check.
There are lots of reasons you could be running in a container and not be
pid 1. You probably shouldn't check for that explicitly.