You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Geoffroy Jabouley (JIRA)" <ji...@apache.org> on 2014/09/24 10:22:33 UTC

[jira] [Created] (MESOS-1829) Hability to configure container options to be appended to each container running on a mesos-slave

Geoffroy Jabouley created MESOS-1829:
----------------------------------------

             Summary: Hability to configure container options to be appended to each container running on a mesos-slave
                 Key: MESOS-1829
                 URL: https://issues.apache.org/jira/browse/MESOS-1829
             Project: Mesos
          Issue Type: Wish
          Components: containerization
    Affects Versions: 0.20.0
            Reporter: Geoffroy Jabouley


We are planning our migration from mesos 0.19.1 & deimos 0.23 to mesos 0.20+.

Currently, we are using a functionality of Deimos that seems *not available* with the mesos native support of Docker containers.

Deimos allow, by using /etc/deimos.cfg config file, to define *extra options* that are always *appended* to docker run command coming from mesos.

example:

{quote}
content of /etc/deimos.cfg
[containers.options]
append: ["-v", "/usr/local/lib:/usr/local/lib:ro", "-e", MESOS_URL=zk://10.0.0.1,10.0.0.2:2181/mesos"]
{quote}

will result in

{quote}
docker run ... -v /usr/local/lib:/usr/local/lib:ro -e MESOS_URL=zk://10.0.0.1,10.0.0.2:2181/mesos ...
{quote}


This is damn usefull when you need to use some host specific informations inside the container.

Could it be possible to see this behavior implemented in next releases of mesos?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)