Re: BUG #15854: postgres wtih Docker: binding port fails with release greater than 9.6.13

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: lcj34(at)cornell(dot)edu
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15854: postgres wtih Docker: binding port fails with release greater than 9.6.13
Date: 2019-06-16 14:15:22
Message-ID: 14512.1560694522@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> I am running Postgres in a docker, creating a container, mounting a
> directory, binding a port. The container comes up successfully and I can
> run psql to enter. But only for release 9.6. When I pull postgres docker
> image for anything greater than 9.6 (I tried with 10, 10.3, 11.3) the
> binding fails. here are specifics:

It looks like the postmaster is failing to start. The place to look to
find out the cause of that is in the postmaster's log file. Unfortunately
I don't use docker so I don't know how it configures the postmaster's
logging; but if you look into the start recipe you should be able to find
where it's redirecting the process's stderr, and that would get you
started.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2019-06-16 16:16:53 Re: BUG #15844: MIPS: remove .set mips2 in s_lock.h to fix r6 build
Previous Message PG Bug reporting form 2019-06-16 12:35:07 BUG #15854: postgres wtih Docker: binding port fails with release greater than 9.6.13