Kevin Matzen created MESOS-1859:
-----------------------------------

             Summary: 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