Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7900

Mesos Containerization of docker run -it

    XMLWordPrintableJSON

Details

    Description

      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:

      docker run -it --rm [image_name]
      

      So the problem is:

      1. I found TTYInfo in mesos.proto, but I cannot figure out how to set its proper WindowSize.
      2. I do not find the API of "docker run -i" to run the task interactively. Is that possible?
      3. Can all the docker CLI parameters like "--rm" be implemented in Mesos Containerization API?

      Thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Sherlock lee 李博文
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: