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

Reply via email to