Skip to content

bug: when starting the docker-compose,there is an error. #16876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
longtsing opened this issue Mar 11, 2025 · 0 comments
Open
1 task done

bug: when starting the docker-compose,there is an error. #16876

longtsing opened this issue Mar 11, 2025 · 0 comments
Labels
needs-triage Issue that require triage

Comments

@longtsing
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

when docker-compose up there is an error to fail.

Creating postgres-test_db_1 ... done
Attaching to postgres-test_db_1
db_1  | popen failure: Cannot allocate memory
db_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_64 chore: 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.1

  • docker image
    postgres:16 ,postgres:16.8

  • Coder version:

  • the latest

Additional Context

No response

@longtsing longtsing added the needs-triage Issue that require triage label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Issue that require triage
Projects
None yet
Development

No branches or pull requests

1 participant