[ 
https://issues.apache.org/jira/browse/MESOS-5967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Klues updated MESOS-5967:
-------------------------------
    Description: 
Docker's command line tool for {{docker inspect}} can take either a 
{{container}}, an {{image}}, or a {{task}} as its argument, and return a JSON 
array containing low-level information about that container, image or task. 

However, the current {{docker inspect}} support in our docker abstraction only 
supports inspecting containers (not images or tasks).  We should expand this to 
(at least) support images.

In particular, this additional functionality is motivated by the upcoming GPU 
support, which needs to inspect the labels in a docker image to decide if it 
should inject the required Nvidia volumes into a container.  

  was:
Docker's command line tool for {{docker inspect}} can take either a 
{{container}}, an {{image}}, or a {{task}} as its argument, and return a JSON 
array containing low-level information about that {{container}}, {{image}} or 
{{task}}. 

However, the current {{docker inspect}} support in our docker abstraction only 
supports inspecting containers (not images or tasks).  We should expand this 
support to images.

In particular, this additional functionality is motivated by the upcoming GPU 
support, which needs to inspect the labels in a docker image to decide if it 
should inject the required Nvidia volumes into a container.  


> Add support for 'docker image inspect' in our docker abstraction
> ----------------------------------------------------------------
>
>                 Key: MESOS-5967
>                 URL: https://issues.apache.org/jira/browse/MESOS-5967
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: Kevin Klues
>            Assignee: Kevin Klues
>              Labels: gpu, mesosphere
>             Fix For: 1.1.0
>
>
> Docker's command line tool for {{docker inspect}} can take either a 
> {{container}}, an {{image}}, or a {{task}} as its argument, and return a JSON 
> array containing low-level information about that container, image or task. 
> However, the current {{docker inspect}} support in our docker abstraction 
> only supports inspecting containers (not images or tasks).  We should expand 
> this to (at least) support images.
> In particular, this additional functionality is motivated by the upcoming GPU 
> support, which needs to inspect the labels in a docker image to decide if it 
> should inject the required Nvidia volumes into a container.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to