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?
Sounds good.
What I have so far is:
https://github.com/xsuchy/mock-1/commit/4a89b6fe70af5777ca5e8e0a795bd89a6...
I can add there that pid 1 check.
--
Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys