This allows for a more graceful error message for the case of users who need to update their volume path.
I tested this with 17 and `--env PGDATA=/var/lib/postgresql/17/docker` (to make sure it still works fine and doesn't complain about the extra volume provided by Docker/`VOLUME`) and 18 with `-v /var/lib/postgresql/data` (where it appropriately errors and explains to me what I should be doing instead).
I also did a reflow on some text in the error message that's designed to fit in 80 columns but was taking 81. 😂
|
||
|---|---|---|
| .github/workflows | ||
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | ||
| 17 | ||
| 18 | ||
| .gitattributes | ||
| .gitignore | ||
| AUTHORS | ||
| Dockerfile-alpine.template | ||
| Dockerfile-debian.template | ||
| LICENSE | ||
| README.md | ||
| apply-templates.sh | ||
| docker-ensure-initdb.sh | ||
| docker-entrypoint.sh | ||
| generate-stackbrew-library.sh | ||
| update.sh | ||
| versions.json | ||
| versions.sh | ||
README.md
https://github.com/docker-library/postgres
Maintained by: the PostgreSQL Docker Community
This is the Git repo of the Docker "Official Image" for postgres (not to be confused with any official postgres image provided by postgres upstream). See the Docker Hub page for the full readme on how to use this Docker image and for information regarding contributing and issues.
The full image description on Docker Hub is generated/maintained over in the docker-library/docs repository, specifically in the postgres directory.
See a change merged here that doesn't show up on Docker Hub yet?
For more information about the full official images change lifecycle, see the "An image's source changed in Git, now what?" FAQ entry.
For outstanding postgres image PRs, check PRs with the "library/postgres" label on the official-images repository. For the current "source of truth" for postgres, see the library/postgres file in the official-images repository.