Hi Krish,

Can you please show more how did you do the test? Are you failing when
start slave or failed to run mesos-execute?

Just check code of 0.24.1, found that the mesos slave does support
both containerized
(docker) & non-containerized workloads running at the same time, please
refer to
https://github.com/apache/mesos/blob/0.24.1/src/slave/flags.cpp#L346

But the mesos-execute do not have the option of containerizer in 0.24.1,
please refer to
https://github.com/apache/mesos/blob/0.24.1/src/cli/execute.cpp#L205-L214 ,
so if you are using 0.24.1 mesos-execute and want to create docker
container, there is no need to specify containerizer but only specify
the docker_image
is enough.

Thanks,

Guangya

On Sun, Feb 28, 2016 at 2:29 AM, Krish <[email protected]> wrote:

> Well, I tried both. But the help that is printed contains no
> containerizer  or containerizers field.
>
>
> On Saturday 27 February 2016, <[email protected]> wrote:
>
>> The flag name is --containerizers (plural)
>>
>> HTH,
>> --
>> Connor
>>
>> On Feb 27, 2016, at 08:54, Krish <[email protected]> wrote:
>>
>> Thanks Guangya for your help.
>>
>> Unfortunately, something seems to be wrong. I get the error that the
>> 'containerizer' is not supported: "Failed to load unknown flag
>> 'containerizer'"
>> I am using mesos-0.24.1.
>>
>> I am trying to run a hello-docker aurora (v0.11) job using docker
>> containerizer.
>>
>>
>>
>> --
>> κρισhναν
>>
>> On Mon, Feb 22, 2016 at 12:08 PM, Guangya Liu <[email protected]> wrote:
>>
>>> I think that the following cli is a good start point for you to take a
>>> look which supports all containizers in mesos.
>>>
>>> https://github.com/apache/mesos/blob/master/src/cli/execute.cpp
>>>
>>> ./src/mesos-execute --master=192.168.56.12:5050  --command="sleep 1000"
>>>  --name=test_mesos --docker_image=busybox:latest --containerizer=mesos
>>>
>>> ./src/mesos-execute --master=192.168.56.12:5050  --command="sleep 1000"
>>>  --name=test_mesos --docker_image=busybox:latest —containerizer=docker
>>>
>>> Thanks,
>>>
>>> Guangya
>>>
>>> On Mon, Feb 22, 2016 at 2:22 PM, Krish <[email protected]>
>>> wrote:
>>>
>>>> I was wondering if we can have both containerized (docker) &
>>>> non-containerized workloads running at the same time on Mesos 
>>>> agents/slaves.
>>>>
>>>> I see from the mesos-slave command help that there is a
>>>> 'containerizers' option in the CLI & it will enforce the usage of
>>>> containers to be used. It doesn't seem to support non-containerized
>>>> workloads.
>>>>
>>>> Is my analysis correct?
>>>>
>>>> Also, if the above is correct, how does one tell the frameworks
>>>> (Aurora/Marathon/Cassandra frameworks) to use containerized vs
>>>> non-containerized workload slaves to schedule jobs?
>>>>
>>>> --
>>>> κρισhναν
>>>>
>>>
>>>
>>>
>>> --
>>> Guangya Liu (刘光亚)
>>> Senior Software Engineer
>>> DCOS and OpenStack Development
>>> IBM Platform Computing
>>> Systems and Technology Group
>>>
>>
>>
>
> --
>
> Thumb typed mail
>
>

Reply via email to