On Friday, September 30, 2016 4:28:08 PM CDT 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?
Sounds good.
What I have so far is: https://github.com/xsuchy/mock-1/commit/4a89b6fe70af5777ca5e8e0a795bd89a6057 6bc6
I can add there that pid 1 check.
I could see people running koji in a container as part of a development setup, which could end up running multiple mocks next to each other in the same container controlled by kojid
Dennis