Hi Ed,

the prefix name is defined in docker.hpp,

```

77 const string DOCKER_NAME_PREFIX = "mesos-";

```

if you have more concerns on the request, please file a issue to discussion.



2016-02-11 7:34 GMT+08:00 Edward Burns <[email protected]>:

> Hello Mesosphere,
>
> I have a newbie question.  Looking at [1] I see:
>
> Doc> The Docker Containerizer launches all containers with the mesos-
> Doc> prefix plus the slave id (ie: mesos-slave1-abcdefghji), and also
> Doc> assumes all containers with the mesos- prefix is managed by the
> Doc> slave and is free to stop or kill the containers.
>
> Is there some way to customize that prefix?  I'm trying to do some log
> disambiguation and it would be handy if I could inject a custom string
> into the name.
>
> Thanks,
>
> Ed
>
> --
> | [email protected] | office: +1 407 458 0017
>
>
> [1] http://mesos.apache.org/documentation/latest/docker-containerizer/
>



-- 
Deshi Xiao
Twitter: xds2000
E-mail: xiaods(AT)gmail.com

Reply via email to