Re: process supervisor - considerations for docker

From: John Regan <john_at_jrjrtech.com>
Date: Thu, 26 Feb 2015 11:03:24 -0600

> 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 interactive
>terminal)
>
> docker run --entrypoint="" -ti image /bin/sh
>would start a shell without the supervision tree running
>
> docker run -ti image /bin/sh
>would start a shell with the supervision tree up.
>

After reading your reasoning, I agree 100% - let -ti drive whether it's interactive, and --entrypoint drive whether there's a supervision tree.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Received on Thu Feb 26 2015 - 17:03:24 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC