Re: Propose to run debug container as the same user of its parent container by default

2018-11-02 Thread Gilbert Song
@James Peach agree, for debug containers, the default user should inherit from parent, while CLI toolings (e.g., task exec) should provide an option `--root` (by setting the commandinfo user as root). @Qian Zhang @Benjamin Mahler , if we step back, it seems to me we should extend the user

Re: Propose to run debug container as the same user of its parent container by default

2018-10-25 Thread Vinod Kone
Sounds good to me. If I understand correctly, you want to treat this is a bug and backport it to previous release branches? So, you are also asking whether backporting this bug will be considered a breaking change for any existing users? On Thu, Oct 25, 2018 at 11:46 AM James Peach wrote: > >

Re: Propose to run debug container as the same user of its parent container by default

2018-10-25 Thread James Peach
> On Oct 23, 2018, at 7:47 PM, Qian Zhang wrote: > > Hi all, > > Currently when launching a debug container (e.g., via `dcos task exec` or > command health check) to debug a task, by default Mesos agent will use the > executor's user as the debug container's user. There are actually 2