diff --git a/README.md b/README.md index 59a6a25..5f0ea4b 100644 --- a/README.md +++ b/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/_scmsync.obsinfo b/_scmsync.obsinfo index d580a6f..22268d5 100644 --- a/_scmsync.obsinfo +++ b/_scmsync.obsinfo @@ -1,5 +1,5 @@ -mtime: 1735740828 -commit: 8720cff6b7dc48da6eab529ec066581a09603659 +mtime: 1738159589 +commit: d8b9f13e7dcc8641544eaee636c6ed38b435c7e4 url: https://github.com/SUSE/bci-dockerfile-generator revision: Tumbleweed subdir: postgres-15-image diff --git a/postgres-15-image.changes b/postgres-15-image.changes index eeb0846..081c408 100644 --- a/postgres-15-image.changes +++ b/postgres-15-image.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 29 14:06:29 UTC 2025 - SUSE Update Bot + +- update README to add hints about the persistent volume requirements + ------------------------------------------------------------------- Wed Jan 1 14:13:48 UTC 2025 - SUSE Update Bot