Re: register runsvdir as subreaper

2017-02-02 Thread John Regan
you a lot of time. https://github.com/just-containers/s6-overlay -John Regan

Re: register runsvdir as subreaper

2017-02-01 Thread John Regan
On 01/30/2017 11:38 AM, Mitar wrote: Hi! I would like to ask if runsvdir could by default be defined as a subreaper on Linux. If it is already a PID 1, then there is no difference, but sometimes it is not. In that case when an orphan process happens under it, then it would be re-parented under

Re: process supervisor - considerations for docker

2015-02-26 Thread John Regan
I think you're better off with: * Case 1 : docker run --entrypoint= image commandline (with or without -ti depending on whether you need an interactive terminal) * Case 2 : docker run image * Case 3: docker run image commandline (with or without -ti depending on whether you need an

Re: process supervisor - considerations for docker

2015-02-26 Thread John Regan
On Thu, Feb 26, 2015 at 02:37:23PM +0100, Laurent Bercot wrote: On 26/02/2015 14:11, John Regan wrote: Just to clarify, docker run spins up a new container, so that wouldn't work for stopping a container. It would just spin up a new container running s6-svscanctl -t service To stop, you

Re: process supervisor - considerations for docker

2015-02-26 Thread John Regan
On Thu, Feb 26, 2015 at 08:23:47PM +, Dreamcat4 wrote: You CANNOT enforce specific ENTRYPOINT + CMD usages amongst docker users. It will never work because too many people use docker in too many different ways. And it does not matter from a technical perspective for the solution I have

Re: process supervisor - considerations for docker

2015-02-25 Thread John Regan
the attention it deserves. Tonight or tomorrow, though, I will; and other people on the supervisionlist will certainly have good insights. Cheers! -- Laurent On 25/02/2015 11:55, Dreamcat4 wrote: Hello, Now there is someone (John Regan) who has made s6 images for docker

Re: process supervisor - considerations for docker

2015-02-25 Thread John Regan
on the supervisionlist will certainly have good insights. Cheers! -- Laurent On 25/02/2015 11:55, Dreamcat4 wrote: Hello, Now there is someone (John Regan) who has made s6 images for docker. And written a blog post about it. Which is a great effort - and the reason I've