- Notifications
You must be signed in to change notification settings - Fork925
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
whendocker-compose up
there is an error to fail.
Creating postgres-test_db_1 ... doneAttaching to postgres-test_db_1db_1 | popen failure: Cannot allocate memorydb_1 | initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/16/bin/initdb"
There are some materials relating the problem.
https://codereviewvideos.com/postgres-16-docker-workaround-program-postgres-is-needed-by-initdb/
Relevant Log Output
Expected Behavior
No response
Steps to Reproduce
docker-compose up
Environment
Host OS:
Linux 4.19.90-52.15.v2207.ky10.x86_64chore: Initial GHA workflow #1 SMP Thu Nov 24 21:50:03 CST 2022 x86_64 x86_64 x86_64 GNU/Linux
Docker version 18.09.0, build
Docker Compose version v2.33.1docker image
postgres:16 ,postgres:16.8Coder version:
the latest
Additional Context
No response