From 01ea766dea2c76c5d715ef2e7ed330111a3fd1c4 Mon Sep 17 00:00:00 2001 From: SUSE Update Bot Date: Thu, 23 Jan 2025 18:05:41 +0000 Subject: [PATCH] Test build for #1687 --- postgres-16-image/README.md | 4 ++++ postgres-17-image/README.md | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/postgres-16-image/README.md b/postgres-16-image/README.md index cd1721079..ce579dad8 100644 --- a/postgres-16-image/README.md +++ b/postgres-16-image/README.md @@ -25,6 +25,10 @@ $ podman run -it --rm -p 5432:5432 -e POSTGRES_PASSWORD=my-password -v /path/to/ PostgreSQL data directory location. +**Note 1:** The directory must be empty for `initdb` to create a new database. + +**Note 2:** If the volume points either to a file system mount point, a remote folder that cannot be owned by the `postgres` user, or a location that already contains files (including `lost+found` and dotfiles), a new subdirectory for storing the PostgreSQL data must be created within the `PGDATA` volume. + ## Environment variables The PostgreSQL image uses several environment variables to configure the database initialization. diff --git a/postgres-17-image/README.md b/postgres-17-image/README.md index a49fbe6db..16c1fd93a 100644 --- a/postgres-17-image/README.md +++ b/postgres-17-image/README.md @@ -25,6 +25,10 @@ $ podman run -it --rm -p 5432:5432 -e POSTGRES_PASSWORD=my-password -v /path/to/ PostgreSQL data directory location. +**Note 1:** The directory must be empty for `initdb` to create a new database. + +**Note 2:** If the volume points either to a file system mount point, a remote folder that cannot be owned by the `postgres` user, or a location that already contains files (including `lost+found` and dotfiles), a new subdirectory for storing the PostgreSQL data must be created within the `PGDATA` volume. + ## Environment variables The PostgreSQL image uses several environment variables to configure the database initialization.