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