mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Qian Zhang <zhq527...@gmail.com>
Subject Re: Docker containerizer: override USER
Date Thu, 01 Sep 2016 13:57:39 GMT
Hi Olivier,

Can you try TaskInfo.CommandInfo.user?


Thanks,
Qian Zhang

On Thu, Sep 1, 2016 at 4:39 PM, Olivier Sallou <olivier.sallou@irisa.fr>
wrote:

> Hi,
> If Docker image specified a USER in Dockerfile, docker will use this user
> when executing command in container.
> In Docker commands, it can be overriden with -u XX .
>
> I do not find however in mesos.proto a way to do so. There is the
> "arguments" of DockerInfo that I could use to append this to the executor
> command line, but I think it is not advised as it may not be supported in
> future.
>
> Did I miss something ?
>
> Thanks
>
> Olvier
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message