docker-library / postgres

Docker Official Image packaging for Postgres
http://www.postgresql.org
MIT License
2.16k stars 1.13k forks source link

Postgres:12 container is not starting anymore #1103

Closed daheile closed 1 year ago

daheile commented 1 year ago

Hello,

Since around 1 week, postgres container with tag 12 is not starting anymore. It fails with

popen failure: Cannot allocate memory
initdb: error: The program "postgres" is needed by initdb but was not found in the
same directory as "/usr/lib/postgresql/12/bin/initdb".
Check your installation.

This was working before.

Workaround: All ok using postgres container with tag "12-bullseye".

What has changed?

yosifkit commented 1 year ago

The change was adding Debian Bookworm based images as the default. The postgres:*bullseye images will continue to be maintained/updated until the respective PostgreSQL end of life or the next Debian release, Debian Trixie.

Likely the same issue as https://github.com/docker-library/postgres/issues/1100. So, https://github.com/docker-library/postgres/issues/1100#issuecomment-1599660628.