You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Guangya Liu (JIRA)" <ji...@apache.org> on 2016/10/11 07:35:20 UTC

[jira] [Comment Edited] (MESOS-5967) Add support for 'docker image inspect' in our docker abstraction.

    [ https://issues.apache.org/jira/browse/MESOS-5967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15564767#comment-15564767 ] 

Guangya Liu edited comment on MESOS-5967 at 10/11/16 7:34 AM:
--------------------------------------------------------------

https://reviews.apache.org/r/52727/ Added `Labels` to docker image.
https://reviews.apache.org/r/52666/ Added support for `docker inspect image` in docker containerizer.
https://reviews.apache.org/r/52728/ Renamed `inspect` to `inspectContainer`.


was (Author: gyliu):
{code}
https://reviews.apache.org/r/52727/ Added `Labels` to docker image.
https://reviews.apache.org/r/52666/ Added support for `docker inspect image` in docker containerizer.
https://reviews.apache.org/r/52728/ Renamed `inspect` to `inspectContainer`.
{code}

> 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: Guangya Liu
>              Labels: gpu
>
> 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)