From e431b0cd5f61af7a37d88d7b234e8fcf0c177ce3 Mon Sep 17 00:00:00 2001 From: SUSE Update Bot Date: Thu, 23 Jan 2025 18:05:43 +0000 Subject: [PATCH] Test build for #1687 --- postgres-12-image/README.md | 4 ++++ postgres-13-image/README.md | 4 ++++ postgres-14-image/README.md | 4 ++++ postgres-15-image/README.md | 4 ++++ postgres-16-image/README.md | 4 ++++ postgres-17-image/README.md | 4 ++++ 6 files changed, 24 insertions(+) diff --git a/postgres-12-image/README.md b/postgres-12-image/README.md index 7c38b1d06..30bf41cce 100644 --- a/postgres-12-image/README.md +++ b/postgres-12-image/README.md @@ -24,6 +24,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-13-image/README.md b/postgres-13-image/README.md index 6719c8234..58ee4aa33 100644 --- a/postgres-13-image/README.md +++ b/postgres-13-image/README.md @@ -24,6 +24,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-14-image/README.md b/postgres-14-image/README.md index d22de4ee3..0b49edc54 100644 --- a/postgres-14-image/README.md +++ b/postgres-14-image/README.md @@ -24,6 +24,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-15-image/README.md b/postgres-15-image/README.md index 456a0006d..ebb5eec38 100644 --- a/postgres-15-image/README.md +++ b/postgres-15-image/README.md @@ -24,6 +24,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-16-image/README.md b/postgres-16-image/README.md index facdd5727..45a0a22dd 100644 --- a/postgres-16-image/README.md +++ b/postgres-16-image/README.md @@ -24,6 +24,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 93546f5c0..daa8cdad7 100644 --- a/postgres-17-image/README.md +++ b/postgres-17-image/README.md @@ -24,6 +24,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.