Return-Path: X-Original-To: apmail-mesos-issues-archive@minotaur.apache.org Delivered-To: apmail-mesos-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C9F9F18E49 for ; Sat, 10 Oct 2015 12:46:05 +0000 (UTC) Received: (qmail 87293 invoked by uid 500); 10 Oct 2015 12:46:05 -0000 Delivered-To: apmail-mesos-issues-archive@mesos.apache.org Received: (qmail 87149 invoked by uid 500); 10 Oct 2015 12:46:05 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 87137 invoked by uid 99); 10 Oct 2015 12:46:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2015 12:46:05 +0000 Date: Sat, 10 Oct 2015 12:46:05 +0000 (UTC) From: "Raffaele Di Fazio (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-3688) Get Container Name information when launching a container task MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14951812#comment-14951812 ] Raffaele Di Fazio commented on MESOS-3688: ------------------------------------------ It wouldn't. I want to know exactly the container name that is generated by mesos as this will be used by our logging driver fluentd https://docs.docker.com/reference/logging/fluentd/ > Get Container Name information when launching a container task > -------------------------------------------------------------- > > Key: MESOS-3688 > URL: https://issues.apache.org/jira/browse/MESOS-3688 > Project: Mesos > Issue Type: Improvement > Components: containerization > Affects Versions: 0.24.1 > Reporter: Raffaele Di Fazio > Labels: mesosphere > > We want to get the Docker Name (or Docker ID, or both) when launching a container task with mesos. The container name is generated by mesos itself (i.e. mesos-77e5fde6-83e7-4618-a2dd-d5b10f2b4d25, obtained with "docker ps") and it would be nice to expose this information to frameworks so that this information can be used, for example by Marathon to give this information to users via a REST API. > To go a bit in depth with our use case, we have files created by fluentd logdriver that are named with Docker Name or Docker ID (full or short) and we need a mapping for the users of the REST API and thus the first step is to make this information available from mesos. -- This message was sent by Atlassian JIRA (v6.3.4#6332)