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

Mesos Containerization of docker run -it

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            Sherlock lee 李博文

            Dates

              Created:
              Updated:

              Slack

                Issue deployment