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/06/16 23:18:00 UTC

[jira] [Closed] (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 closed MESOS-1859.
-------------------------------
    Resolution: Fixed

commit 3d63f63156f73d375d8a85a7c485b72c0f739ab0
Author: Jay Buffington <ja...@apple.com>
Date:   Wed May 6 23:03:23 2015 +0000

    Fixed docker-no-executor-framework example to send ContainerInfo.

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