mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From haosdent <haosd...@gmail.com>
Subject Re: Docker Containerizer: custom name possible?
Date Fri, 12 Feb 2016 16:29:58 GMT
>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 <edward.burns@oracle.com>
wrote:

> >>>>> On Thu, 11 Feb 2016 19:09:29 +0800, tommy xiao <xiaods@gmail.com>
> 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 <haosdent@gmail.com>
> 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

Mime
View raw message