Hi Ankur,

Not sure I understand exactly, are these common services all running on the
same host where you're running the container?

If it's running the same host, docker container should be able to access
any port in the host, if it's cross hosts then you have to setup your own
bridge and use the lxc-conf option, or use something like pipework.

I'm adding the lxc-conf options into the next release of mesos.

Tim

On Sun, Oct 26, 2014 at 6:39 PM, Ankur Chauhan <[email protected]> wrote:

> Hi all,
>
> So I have been dabbling with docker containers in and mesos. I have the
> following scenario and i was wondering if someone had experience with
> something like this.
>
> I have a bunch of dockerized apps running and the slave hosts have some
> common services running, something like mongos and kafka brokers etc. I was
> wondering if there was a way to expose these services (i.e. some tcp port)
> to the docker containers?
>
> Is this even a legitimate way of exposing services to apps but my main
> intention is to avoid going over the network or something.
>
> -- Ankur

Reply via email to