Hi Gmail,  

AFAIK not. The only way to do so is setting up the env variable as you do now.










Kind regards,

Radek Gruchalski

[email protected] (mailto:[email protected])
 
(mailto:[email protected])
de.linkedin.com/in/radgruchalski/ (http://de.linkedin.com/in/radgruchalski/)

Confidentiality:
This communication is intended for the above-named person and may be 
confidential and/or legally privileged.
If it has come to you in error you must take no action based on it, nor must 
you copy or show it to anyone; please delete/destroy and inform the sender 
immediately.



On Sunday, 3 April 2016 at 16:09, Gmail wrote:

> I'm pretty new to mesos and marathon, and I'm running a couple of frameworks 
> with marathon (Kafka and elastic search). However, in order for the 
> frameworks to receive resource offers I need to set the LIBPROCESS_IP 
> environment variable to the hosts IP address for the docker container running 
> the frameworks. Currently I am working around me this by using a constraint 
> to hard wire the slave that the framework gets launched on, so then I can put 
> the slaves ip in the marathon json file.
>  
> Obviously this is not ideal. Is there a better way to define the host ip 
> Inside the docker container?
>  
> Sent from my iPad  

Reply via email to