Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcVwR-0000Bh-Nk for pgsql-bugs@arkaria.postgresql.org; Sun, 16 Jun 2019 14:15:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hcVwQ-0003v8-AC for pgsql-bugs@arkaria.postgresql.org; Sun, 16 Jun 2019 14:15:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcVwQ-0003v0-2m for pgsql-bugs@lists.postgresql.org; Sun, 16 Jun 2019 14:15:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hcVwO-0001Ps-1H for pgsql-bugs@lists.postgresql.org; Sun, 16 Jun 2019 14:15:29 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x5GEFMkL014515; Sun, 16 Jun 2019 10:15:22 -0400 From: Tom Lane To: lcj34@cornell.edu cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15854: postgres wtih Docker: binding port fails with release greater than 9.6.13 In-reply-to: <15854-544de1495db7399b@postgresql.org> References: <15854-544de1495db7399b@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Sun, 16 Jun 2019 12:35:07 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14510.1560694522.1@sss.pgh.pa.us> Date: Sun, 16 Jun 2019 10:15:22 -0400 Message-ID: <14512.1560694522@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk PG Bug reporting form 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