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

Abhishek Dasgupta commented on MESOS-4446:
------------------------------------------

Should not the description of this issue be "Set Docker labels based on 
TaskInfo labels"?

So, three ways could I found feasible to implement this issue -

1. Pass TaskInfo.Label value as a string to Docker run through executor.
2. Pass TaskInfo protobuf message to docker run instead of ContainerInfo and 
CommandInfo.
3. Change ContainerInfo to include labels field. This would require changes in 
framework and its UI also!!

I personally prefer the first way. What say? Please, contradict if i am wrong.

> Set Docker labels based on TaskStatus labels.
> ---------------------------------------------
>
>                 Key: MESOS-4446
>                 URL: https://issues.apache.org/jira/browse/MESOS-4446
>             Project: Mesos
>          Issue Type: Story
>          Components: docker
>            Reporter: Gennady Feldman
>
> So looks like MESOS-3076 added support for Labels to TaskStatus. Would it be 
> possible to pass those onto the docker container?
> This would really help with doing "docker inspect" on the mesos-slave nodes 
> as well as allow us to better collect docker metrics about the 
> tasks/containers that are currently running on the slave.
> docker supports labels out of the box. See here: 
> https://docs.docker.com/engine/userguide/labels-custom-metadata/



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

Reply via email to