Re: SSH-free PostgreSQL

From: Joseph Ferguson <joe(at)infosiftr(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Postgres-Docker Mailing List <pgsql-pkg-docker(at)postgresql(dot)org>
Subject: Re: SSH-free PostgreSQL
Date: 2014-07-30 19:34:03
Message-ID: CAF3-kPGSDf++7iEs37+cf_9TmGSaW9nO1088N7XK9mz=k4qqgw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-docker

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

In response to

Responses

Browse pgsql-pkg-docker by date

  From Date Subject
Next Message Josh Berkus 2014-07-30 19:39:58 Re: SSH-free PostgreSQL
Previous Message Josh Berkus 2014-07-30 17:55:38 Re: SSH-free PostgreSQL