You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "yawei.liu@xtaotech.com" <ya...@xtaotech.com> on 2017/08/31 07:11:55 UTC

Questions about the mesos protocol

Hi all
        In current mesos protocol(defined in mesos.proto), the volume mode can only be set to RO or RW. How can I luanch a docker with a volume in Slave mode via Mesos?

Best wishes!



yawei.liu@xtaotech.com

Re: Questions about the mesos protocol

Posted by Jie Yu <yu...@gmail.com>.
Sorry, the comment above applies to MesosContainerizer. For
DockerContainerizer, all mounts will be private (docker default). We don't
have immediate plan to support slave/shared mount for DockerContainerizer.
You can use MesosContainerizer to launch Docker containers, see doc here:
https://github.com/apache/mesos/blob/master/docs/container-image.md

- Jie

Re: Questions about the mesos protocol

Posted by Jie Yu <yu...@gmail.com>.
By default, all host volumes are slave mounts. We're planning to add
support for allowing a host volume to be a shared mount.

- Jie

On Thu, Aug 31, 2017 at 12:11 AM, yawei.liu@xtaotech.com <
yawei.liu@xtaotech.com> wrote:

> Hi all
>         In current mesos protocol(defined in mesos.proto), the volume mode
> can only be set to RO or RW. How can I luanch a docker with a volume in
> Slave mode via Mesos?
>
> Best wishes!
>
>
>
> yawei.liu@xtaotech.com
>

Re: Questions about the mesos protocol

Posted by Yanjun Shen <sn...@gmail.com>.
Docker volume support in Mesos Containerizer, reference
http://mesos.apache.org/documentation/latest/docker-volume/ <http://mesos.apache.org/documentation/latest/docker-volume/>


> 在 2017年8月31日,下午3:11,yawei.liu@xtaotech.com 写道:
> 
> Hi all
>        In current mesos protocol(defined in mesos.proto), the volume mode can only be set to RO or RW. How can I luanch a docker with a volume in Slave mode via Mesos?
> 
> Best wishes!
> 
> 
> 
> yawei.liu@xtaotech.com