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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14588783#comment-14588783 ] 

Vaibhav Khanduja commented on MESOS-1859:
-----------------------------------------

I believe this is fixed ...but issue seem to be unresolved?

> 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)