[
https://issues.apache.org/jira/browse/MESOS-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Neuhausler closed MESOS-2190.
------------------------------------
Resolution: Not a Problem
Got replaced by https://issues.apache.org/jira/browse/MESOS-2191
> Use TaskInfo.task_id as ContainerId of a Docker container
> ----------------------------------------------------------
>
> Key: MESOS-2190
> URL: https://issues.apache.org/jira/browse/MESOS-2190
> Project: Mesos
> Issue Type: Wish
> Components: containerization
> Reporter: Marcel Neuhausler
>
> The containerId of a Docker container gets generated by the mesos-slave:
> "mesos-"+random UUID. That makes it pretty hard to correlate a Mesos task as
> shown in Mesos with a container in for example cAdvisor.
> A quick hack that could make that correlation easier: Use the TaskInfo.TaskID
> instead of the randomly generated UUID. In slave.cpp replace:
> containerId.set_value(UUID::random().toString());
> with:
> containerId.set_value(taskInfo.task_id().value());
> Or at least make the Task_Id part of the Container_Id.
> mesos-TaskId-UUID
> Any thoughts?
> --Marcel
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)