pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: hobin2017 (@hobin2017) <noreply+hobin2017@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #826: container-error: program "postgres" is needed by initdb but was not found
Date: Tue, 22 Apr 2025 02:05:44 +0000
Message-ID: <gh-pgvector-pgvector-826@github.com> (raw)

the docker-compose is given below.
```
version: '3'
services:
  postgres:
    image: pgvector/pgvector:pg16
    network_mode: host
    # restart: on-failure
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: xxx123456789!!
    volumes:
      - /home/18data_pgvector:/var/lib/postgresql/data
```

the error goes here
```
Recreating vectordb_postgres_1 ... done
Attaching to vectordb_postgres_1
vectordb_postgres_1 | popen failure: Cannot allocate memory
vectordb_postgres_1 | initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/16/bin/initdb"
vectordb_postgres_1 exited with code 1
```


view thread (11+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-826@github.com>
Permalink:  ../gh-pgvector-pgvector-826@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox