mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thodoris Zois <z...@ics.forth.gr>
Subject Re: Ports and Tasks
Date Wed, 20 Sep 2017 07:53:48 GMT
Hello,

Thank you for the provided links, i am using my own framework..

Thodoris

> On 20 Sep 2017, at 03:15, Sunil Shah <sunilsh@yelp.com> wrote:
> 
> Hi Thodoris,
> 
> What framework are you using? Marathon makes this port available as an environment variable,
you may want to do similar: docs, code.
> 
> Sunil
> 
>> On Tue, Sep 19, 2017 at 4:46 PM, Thodoris Zois <zois@ics.forth.gr> wrote:
>> Hello list,
>> 
>> I have a weird problem, and i am wondering if there is any easy way to solve it.
>> 
>> I am running some tasks (docker images using mesos contaunerizer) that each one starts
a mysql server, does some queries and closes the server.
>> 
>> Every server is listening to the same port. And that is the problem. In Mesos offer
i allocate a port for each task, but how i can use it in the script that docker file (CMD
script.sh) executes when starts?
>> 
>> Any help would be appreciated!
>> 
>> Thank you very much,
>> Thodoris
> 

Mime
View raw message