From: sdghchj (@sdghchj) <noreply+sdghchj@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #826: container-error: program "postgres" is needed by initdb but was not found
Date: Tue, 22 Apr 2025 11:11:29 +0000
Message-ID: <gh-pgvector-pgvector-826-c2820984102@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-826@github.com>
References: <gh-pgvector-pgvector-826@github.com>
the same with docker:
```
docker run -it --rm --name pgvector -p 5432:5432 -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=postgres pgvector/pgvector:0.8.0-pg17
```
and errors occurred:
```
could not execute command ""/usr/lib/postgresql/17/bin/postgres" -V": Cannot allocate memory
initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/17/bin/initdb"
```