mirror of
https://github.com/docker-library/postgres.git
synced 2025-11-17 13:02:40 +03:00
6fe8c15843400444e4ba6906ec6f94b0d526a678
Healthchecks that used `pg_isready -p 5432` were incorrectly flagging the container as being healthy during initialization phase since healthchecks are being run inside the container itself, so `listen_addresses='localhost'` was not enough. Setting `listen_addresses=''` forces the server to only listen on the unix socket so no ports are open that might incorrectly interfeer with the healthchecks.
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 description from Docker Hub is generated over in docker-library/docs, specifically in docker-library/docs/postgres.
See a change merged here that doesn't show up on Docker Hub yet?
Check the "library/postgres" manifest file in the docker-library/official-images repo, especially PRs with the "library/postgres" label on that repo.
For more information about the official images process, see the docker-library/official-images readme.
| Build | Status | Badges | (per-arch) |
|---|---|---|---|
amd64 |
arm32v5 |
arm32v6 |
arm32v7 |
arm64v8 |
i386 |
ppc64le |
s390x |
Languages
Shell
56.4%
Dockerfile
43.6%