postgres
postgres copied to clipboard
Docker Official Image packaging for Postgres
It seems that location of `pg_hba.conf` file is just hardcoded: https://github.com/docker-library/postgres/blob/8a631b939a0b4197cb6bef49b50b6c40c80ddf5b/15/bookworm/docker-entrypoint.sh#L253 But If I set my custom [hba_file](https://www.postgresql.org/docs/current/runtime-config-file-locations.html#GUC-HBA-FILE), then **initdb** will create redundant `$PGDATA/pg_hba.conf` file.
`docker-entrypoint.sh` sets up `host all all all scram-sha-256` into `pg_hba.conf` file. https://github.com/docker-library/postgres/blob/8a631b939a0b4197cb6bef49b50b6c40c80ddf5b/15/bookworm/docker-entrypoint.sh#L252 For my database located in trusted network I wan to configure trusted authentication, but can not, because first...
On the page:https://hub.docker.com/_/postgres in __how to extend this image__ section: >Note 2: This variable defines the superuser password in the PostgreSQL instance, as set by the initdb script during initial...
Hi, The Docker Hub readme instructs users to treat a container with `$POSTGRES_PASSWORD` supplied as immediately usable, which can only be true if the user's intention was to grant their...
I'm spinning up postgres containers for unit tests, so I don't care at all if they are corrupted on exit. I have been unable to find any way to kill...
This is a pretty large breaking change, which is why this only makes the change in 17+ (which is currently in pre-release stages, and not due for GA until September,...
https://www.postgresql.org/docs/15/runtime-config-file-locations.html > If you wish to keep the configuration files elsewhere than the data directory, the `postgres -D` command-line option or `PGDATA` environment variable must point to the directory containing...
If for some reason you need an old postgres image, such as `postgres:8.4`, you can no longer pull it: > 8.4: Pulling from library/postgres [DEPRECATION NOTICE] Docker Image Format v1...
Hi, It is great to have dockerfiles for the released versions. However, I wonder if you could consider adding "build from master" variation. It does not need to be rebuild...
When helping people on StackOverflow, I often see people having problems with Docker Compose and applications that try to connect to the database immediately on startup. When using a simple...