On Wed, Jul 30, 2014 at 11:55 AM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
>
> Question: how does --link work if the two dockers are on different machines?
Currently it does not work at all. The local docker daemon knows
nothing of other docker daemons. I think expanding --link or
something similar is planned for the future.
Regardless, the --link could still be emulated by setting the correct
env vars (POSTGRES_PORT_5432_TCP_ADDR POSTGRES_PORT_5432_TCP_PORT) on
the linked-from host and setting the proper routing and possible port
mapping to the container on the other machine.
- Joe Ferguson :: joe(at)infosiftr(dot)com
InfoSiftr :: Vice President of Programming