Running docker-compose exec db14 pg_dumpall --clean in the postgres:14.8-bookworm image results in:
popen failure: Cannot allocate memory
pg_dumpall: error: The program "pg_dump" is needed by pg_dumpall but was not found in the
same directory as "/usr/lib/postgresql/14/bin/pg_dumpall".
Check your installation.
Running
docker-compose exec db14 pg_dumpall --clean
in thepostgres:14.8-bookworm
image results in:This is working fine in
postgres:14.8-bullseye
.For some context: