| From: | Justin Clift <justin(at)postgresql(dot)org> |
|---|---|
| To: | Magnus Hagander <magnus(at)hagander(dot)net> |
| Cc: | Lukas Fittl <lukas(at)fittl(dot)com>, pgsql-www(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Can the "pgautoupgrade" docker project/image be listed on our Download page? |
| Date: | 2026-12-03 13:13:35 |
| Message-ID: | 62811382a48a1dc491f2cf5dbc261c77@postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-www |
On 2026-12-03 00:41, Magnus Hagander wrote:
> On Sat, 28 Nov 2026 at 05:11, Justin Clift <justin(at)postgresql(dot)org>
> wrote:
>> On 2026-11-28 11:38, Lukas Fittl wrote:
<snip>
>> Yep, very much agree. The "official" PostgreSQL images on Docker
>> Hub are created by Docker Inc's team rather than us. Pretty sure
>> there's a few people who work on it, rather than a single person
>> (tianon) though yeah, he's very active.
>
> They are official as in they are "official Docker". They are not
> "official
> PostgreSQL". Which makes it quite confusing, yes.
>
> There's of course also a lot of other docker containers being used. For
> example, CNPG which is certainly well used, just use the basic debian
> images to add their stuff to. Which also gives automatic access to all
> apt-packaged extensoins etc.
Yeah, I'm thinking something drop dead simple that'll be a good default
for
the majority of people and maybe something specialised for K8S (CNPG) as
well.
Unsure yet. Will investigate more, prob this weekend. :)
> Docker images/containers not being present in a meaningful way on the
>> PG website is kind of a weird situation that's been happening for
>> years. "Elephant in the room" (heh, a PG pun) does seem accurate.
>>
>> Would a reasonable idea be to add a new "Docker" or "Containers" entry
>> in the main Linux/macOS/Windows/BSD/Solaris selector on the Download
>> page, which when selected then displays a list of choices like is
>> done for the Linux or BSD entries?
>
> It probably would, if people can agree on what's the correct
> PostgreSQL-community provided conaitners :) We many years ago decided
> that
> linkint to several different ones is not helpful to our users - we used
> to
> have multiple options for RPMs for example, and it caused nothing but
> confusion. Having a single yum repo with all of it is a lot better for
> the
> end users. Today it's really just Mac that diverges from that, and we
> don't
> want to make more of those.
We _could_ use the pgautoupgrade one as the default, as it's quite
literally
the Docker Inc's one + customer scripting added to automatically run
pg_upgrade when it detects a version mismatch between the container
runtime
vs the database volume.
The main concern I have there is whether that'd lead to an overwhelming
# of
reported issues on the pgautoupgrade repo. I _doubt_ it, as the
pgautoupgrade
images are now reasonably well battle tested.
Hmmm, I guess we could try it and if that starts to happen then we
switch
the page around to preference the Docker Inc one instead. Shouldn't be
needed, but it'd be a decent plan B just in case. :)
Regards and best wishes,
Justin Clift
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Álvaro Herrera | 2026-12-03 15:53:01 | Re: Wiki editor request |
| Previous Message | Emil Sadek | 2026-12-02 23:33:11 | Wiki editor request |