Open
Description
https://github.com/docker-library/postgres/blob/master/16/alpine3.19/docker-entrypoint.sh#L234
Currently, checking if the DB is initialized is by checking if $PGDATA/PG_VERSION
if exist.
However, PGDATA may not be the real data directory.
The real data directory can be overwritten by $PGDATA/postgresql.conf
with data_directory = ''
.
Metadata
Metadata
Assignees
Labels
No labels