Re: TASK_FAILED - Mesos Container Images

2017-09-07 Thread Thodoris Zois
No problem! I am glad that you tried to help me.. Thank you! > On 7 Sep 2017, at 18:21, Olivier Sallou wrote: > > > > On 09/07/2017 04:58 PM, Thodoris Zois wrote: >> I am using the Mesos Containerizer and i run docker images. I don’t have any >> proto DockerInfo.. I use Protos.ContainerInfo a

Re: TASK_FAILED - Mesos Container Images

2017-09-07 Thread Olivier Sallou
On 09/07/2017 04:58 PM, Thodoris Zois wrote: > I am using the Mesos Containerizer and i run docker images. I don’t > have any proto DockerInfo.. I use Protos.ContainerInfo and Protos.Image oh sorry, though you were using docker containerizer I don't know what are limitations for mesos containeriz

Re: TASK_FAILED - Mesos Container Images

2017-09-07 Thread Thodoris Zois
I am using the Mesos Containerizer and i run docker images. I don’t have any proto DockerInfo.. I use Protos.ContainerInfo and Protos.Image > On 7 Sep 2017, at 17:48, Olivier Sallou wrote: > > > On 09/07/2017 04:44 PM, Thodoris Zois wrote: >> Actually my issue is that i want to set some flags

Re: TASK_FAILED - Mesos Container Images

2017-09-07 Thread Olivier Sallou
On 09/07/2017 04:44 PM, Thodoris Zois wrote: > Actually my issue is that i want to set some flags on docker run so i > can give privileges to the docker image, using —privileged. In the > Dockerfile i am using CMD script.sh in which my command fails due to > privileges. in mesos.proto there is in

Re: TASK_FAILED - Mesos Container Images

2017-09-07 Thread Thodoris Zois
Actually my issue is that i want to set some flags on docker run so i can give privileges to the docker image, using —privileged. In the Dockerfile i am using CMD script.sh in which my command fails due to privileges. Thodoris > On 7 Sep 2017, at 17:40, Olivier Sallou wrote: > > > > On 09/

Re: TASK_FAILED - Mesos Container Images

2017-09-07 Thread Olivier Sallou
On 09/06/2017 06:40 PM, Thodoris Zois wrote: > Yes you are right, this is the problem. I aso noticed it. Docker image has no > privileges so script can't execute this command. Is there any way to use > arguments in proto? Or i have to set command to the task? And set shell to > true? personal

Re: TASK_FAILED - Mesos Container Images

2017-09-06 Thread Thodoris Zois
Yes you are right, this is the problem. I aso noticed it. Docker image has no privileges so script can't execute this command. Is there any way to use arguments in proto? Or i have to set command to the task? And set shell to true? Thodoris > On 6 Sep 2017, at 18:26, James Peach wrote: > >

Re: TASK_FAILED - Mesos Container Images

2017-09-06 Thread James Peach
> On Sep 6, 2017, at 4:41 AM, Thodoris Zois wrote: > > Hello, > > I am using the Mesos Containerizer with Docker Images. The problem is that > whenever a container exits my task gets TASK_FAILED because the container > exits with ‘1’. > My docker file invokes a shell script via CMD /script.s

TASK_FAILED - Mesos Container Images

2017-09-06 Thread Thodoris Zois
Hello, I am using the Mesos Containerizer with Docker Images. The problem is that whenever a container exits my task gets TASK_FAILED because the container exits with ‘1’. My docker file invokes a shell script via CMD /script.sh. My protobuff can be found below: https://pastebin.com/1agjAFdm <