PostgreSQL 8.2-18 from PGDG on Debian trixie; 10+ with ~90 extensions, TimescaleDB
10K+
epicmorg/postgresPostgreSQL server images built from the official PGDG apt repository
on our epicmorg/debian:trixie
base. The entrypoint is the familiar one from the official postgres image, so the usual
POSTGRES_* variables and /docker-entrypoint-initdb.d work the same way.
postgresql-<major> with contrib and server-dev from apt.postgresql.org (trixie-pgdg);
binaries in /usr/lib/postgresql/<major>/bin (on PATH);10 ... 18 additionally ship a large extension set from PGDG (about 90 packages), among them
PostGIS 3, pgRouting, pgvector, pg_cron, pg_partman, pg_repack, pglogical, wal2json,
pgaudit, orafce, hypopg, pg_hint_plan, pg_stat_kcache, pg_qualstats, PoWA,
mysql_fdw / oracle_fdw / tds_fdw, PL/R, PL/Lua, PL/Java, PL/Python3, PL/Perl, PL/Tcl, and
EDB's system_stats built from source;15 ... 18 also include TimescaleDB 2 (timescaledb-2-postgresql-<major>);8.2 ... 9.6 (museum majors) ship only the server, contrib, server-dev and client;pgloader in every tag;en_US.UTF-8 (LANG=en_US.utf8), listen_addresses='*' in the sample config;PGDATA=/var/lib/postgresql/data (a VOLUME), port 5432, STOPSIGNAL SIGINT,
tini as PID 1, healthcheck pg_isready.Extensions are installed, not enabled: add them to shared_preload_libraries where required and
run CREATE EXTENSION in your database.
| Tags | Dockerfile |
|---|---|
8.2 | 8.2 |
8.3 | 8.3 |
8.4 | 8.4 |
9.0 | 9.0 |
9.1 | 9.1 |
9.2 | 9.2 |
9.3 | 9.3 |
9.4 | 9.4 |
9.5 | 9.5 |
9.6 | 9.6 |
10 | 10 |
11 | 11 |
12 | 12 |
13 | 13 |
14 | 14 |
15 | 15 |
16 | 16 |
17 | 17 |
18, latest | 18 |
Every tag is pushed to docker.io, quay.io and ghcr.io (epicmorg/postgres:<tag> on each) - same digest everywhere.
docker run -d --name postgres \
-e POSTGRES_PASSWORD=secret \
-v pgdata:/var/lib/postgresql/data \
-p 5432:5432 \
epicmorg/postgres:17
Environment variables handled by the entrypoint (same semantics as the official image, _FILE
variants supported): POSTGRES_PASSWORD, POSTGRES_USER, POSTGRES_DB, POSTGRES_INITDB_ARGS,
POSTGRES_INITDB_WALDIR, POSTGRES_HOST_AUTH_METHOD. Scripts (*.sh, *.sql, *.sql.gz, *.sql.xz) in
/docker-entrypoint-initdb.d run on the first start with an empty data directory. See the
official postgres image docs for details.
pg_upgrade or dump/restore - see
epicmorg/pg-upgrade-tool,
which carries every major from 8.2 to 18 in one image.epicmorg/postgres-patroni.Content type
Image
Digest
sha256:ea8aa51ba…
Size
1.8 GB
Last updated
about 6 hours ago
docker pull epicmorg/postgres