>is there some way to inject an >externally defined string into the container name *before* Mesos >launches the container, so that ever after for the life of that >container the container name contains that string?
So far could not inject custom string to docker container name launched by Mesos. On Fri, Feb 12, 2016 at 11:53 PM, Edward Burns <[email protected]> wrote: > >>>>> On Thu, 11 Feb 2016 19:09:29 +0800, tommy xiao <[email protected]> > said: > > TX> if you have more concerns on the request, please file a issue to > TX> discussion. > > >>>>> On Thu, 11 Feb 2016 19:19:39 +0800, haosdent <[email protected]> > said: > > HD> If you want inject inside container, the name stored in > HD> MESOS_CONTAINER_NAME. If you want inject outside, you could get it > HD> by /state endpoint. The container name is combined by > HD> DOCKER_NAME_PREFIX + slaveId + DOCKER_NAME_SEPERATOR + containerId. > > Thanks for your responses. Haosdent, is there some way to inject an > externally defined string into the container name *before* Mesos > launches the container, so that ever after for the life of that > container the container name contains that string? > > I appreciate your tolerance of my newbieness. > > Thanks, > > Ed > -- Best Regards, Haosdent Huang

