李博文 created MESOS-7900:
--------------------------

             Summary: Mesos Containerization of docker run -it
                 Key: MESOS-7900
                 URL: https://issues.apache.org/jira/browse/MESOS-7900
             Project: Mesos
          Issue Type: Task
          Components: containerization, docker, scheduler api
            Reporter: 李博文


Hi, I wrote an Mesos scheduler which mainly aimed to schedule the GPU resources.

Because Nvidia GPU support is only available for tasks launched through the 
Mesos containerizer, I used Mesos Containerization, i.e. 
mesos_pb2.ContainerInfo.MesosInfo in mesos.proto. And I want to run a task 
interactively in cluster. The command in Docker Containerization is:
{code:none}
docker run -it --rm [image_name]
{code}
So the problem is:
# I found TTYInfo in mesos.proto, but I cannot figure out how to set its proper 
WindowSize. 
# I do not find the API of "docker run -i" to run the task interactively. Is 
that possible?
# Can all the docker CLI parameters like "--rm" be implemented in Mesos 
Containerization API?

Thanks.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to