[ 
https://issues.apache.org/jira/browse/MESOS-1859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14177077#comment-14177077
 ] 

Timothy Chen commented on MESOS-1859:
-------------------------------------

Hi, thanks for reporting this! you're correct the image is wrong, would you 
like to submit a patch to fix this?

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

Reply via email to