You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Timothy Chen (JIRA)" <ji...@apache.org> on 2015/01/14 08:52:34 UTC

[jira] [Updated] (MESOS-1859) src/examples/docker_no_executor_framework.cpp uses wrong ContainerInfo

     [ https://issues.apache.org/jira/browse/MESOS-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Chen updated MESOS-1859:
--------------------------------
    Component/s: docker

> src/examples/docker_no_executor_framework.cpp uses wrong ContainerInfo
> ----------------------------------------------------------------------
>
>                 Key: MESOS-1859
>                 URL: https://issues.apache.org/jira/browse/MESOS-1859
>             Project: Mesos
>          Issue Type: Bug
>          Components: docker
>            Reporter: Kevin Matzen
>            Priority: Minor
>
> src/examples/docker_no_executor_framework.cpp sets up the docker image using:
>         CommandInfo::ContainerInfo* container =
>           task.mutable_command()->mutable_container();
>         container->set_image("docker:///busybox");
> As far as I can tell, the slave expects it to be configured as follows:
>       ContainerInfo* container = task.mutable_container();
>       container->set_type(ContainerInfo::DOCKER);
>       container->mutable_docker()->set_image("busybox");
> Did I understand correctly?



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