postgres-exporter Observability
Prometheus PostgreSQL exporter built from source via melange.
Size 15 MB Arch x86_64, aarch64 User nonroot (65532) Updated today Upstream github.com/prometheus-community/postgres_exporter
Pull this image
docker pull ghcr.io/rtvkiz/minimal-postgres-exporter:latest docker pull ghcr.io/rtvkiz/minimal-postgres-exporter:latest-dev The -dev variant adds a shell, package manager and build toolchain. For CI and debugging — not production.
Details
- Repository
- ghcr.io/rtvkiz/minimal-postgres-exporter
- Size (compressed)
- 15 MB
- Built
- 2026-09-29T00:23:56Z (today)
- Architectures
- x86_64, aarch64
- Primary package
- postgres-exporter
- Entrypoint
- /usr/bin/postgres_exporter
- Cmd
- --web.listen-address=:9187
- User
- nonroot (65532)
- Working dir
- /
- Architectures
- x86_64, aarch64
- Environment
- Labels
-
org.opencontainers.image.title minimal-postgres-exporter org.opencontainers.image.description Prometheus exporter for PostgreSQL server metrics, pairing with postgres-slim and prometheus. Built from source, signed with SLSA provenance, rebuilt every 6h. org.opencontainers.image.url https://github.com/rtvkiz/minimal org.opencontainers.image.source https://github.com/rtvkiz/minimal/tree/main/images/postgres-exporter org.opencontainers.image.licenses Apache-2.0
- Entrypoint
- /usr/bin/postgres_exporter
- Cmd
- --web.listen-address=:9187
- User
- nonroot (65532)
- Working dir
- /
- Architectures
- x86_64, aarch64
- Environment
- Labels
-
org.opencontainers.image.title minimal-postgres-exporter-dev org.opencontainers.image.description Dev variant of minimal-postgres-exporter: same binary plus shell, curl, openssl, dig and jq. Not for production. org.opencontainers.image.url https://github.com/rtvkiz/minimal org.opencontainers.image.source https://github.com/rtvkiz/minimal/tree/main/images/postgres-exporter org.opencontainers.image.licenses Apache-2.0 dev.minimal.variant dev
| Tag | Pull | Published |
|---|---|---|
| 0.20 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20 | 2026-09-29 |
| 0.20.1-r0 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0 | 2026-09-29 |
| 0.20.1-r0-20260929 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260929 | 2026-09-29 |
| latest | ghcr.io/rtvkiz/minimal-postgres-exporter:latest | 2026-09-29 |
| 0.20-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20-dev | 2026-09-29 |
| 0.20.1-r0-20260929-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260929-dev | 2026-09-29 |
| 0.20.1-r0-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-dev | 2026-09-29 |
| latest-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:latest-dev | 2026-09-29 |
| 0.20.1-r0-20260928 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260928 | 2026-09-28 |
| 0.20.1-r0-20260928-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260928-dev | 2026-09-28 |
| 0.20.1-r0-20260927 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260927 | 2026-09-27 |
| 0.20.1-r0-20260927-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260927-dev | 2026-09-27 |
| 0.20.1-r0-20260926 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260926 | 2026-09-26 |
| 0.20.1-r0-20260926-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260926-dev | 2026-09-26 |
| 0.20.1-r0-20260925 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260925 | 2026-09-25 |
| 0.20.1-r0-20260925-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260925-dev | 2026-09-25 |
| 0.20.1-r0-20260924 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260924 | 2026-09-24 |
| 0.20.1-r0-20260924-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260924-dev | 2026-09-24 |
| 0.20.1-r0-20260923 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260923 | 2026-09-23 |
| 0.20.1-r0-20260923-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260923-dev | 2026-09-23 |
| 0.20.1-r0-20260922 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260922 | 2026-09-22 |
| 0.20.1-r0-20260922-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260922-dev | 2026-09-22 |
| 0.20.1-r0-20260921 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260921 | 2026-09-21 |
| 0.20.1-r0-20260921-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260921-dev | 2026-09-21 |
| 0.20.1-r0-20260920 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260920 | 2026-09-20 |
| 0.20.1-r0-20260920-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260920-dev | 2026-09-20 |
| 0.20.1-r0-20260919 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260919 | 2026-09-19 |
| 0.20.1-r0-20260919-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260919-dev | 2026-09-19 |
| 0.20.1-r0-20260918 | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260918 | 2026-09-18 |
| 0.20.1-r0-20260918-dev | ghcr.io/rtvkiz/minimal-postgres-exporter:0.20.1-r0-20260918-dev | 2026-09-18 |
14 packages in the image, resolved from the SPDX SBOM.
| Package | Version | License |
|---|---|---|
| alpine/ca-certificates | 20260909 | MPL-2.0 AND MIT |
| ca-certificates-bundle | 20260909-r1 | MPL-2.0 AND MIT |
| ca-certificates-bundle | 20260909-r1 | (MPL-2.0 AND MIT) |
| ca-certificates-bundle | 20260909-r1 | — |
| ca-certificates.yaml | ee3eac73dda22e8dd32fa5fb3e3a1712a6e812d7 | Apache-2.0 |
| images/postgres-exporter/melange.yaml | 1bce6e63ea891bcced1fda6bdc6813ced3474c4e | — |
| postgres-exporter | 0.20.1-r0 | Apache-2.0 |
| sha256:059dc5a51ce8be83fecfa2b4c4226468bf23df128a949f152cad6c0a07cc40ed | sha256:059dc5a51ce8be83fecfa2b4c4226468bf23df128a949f152cad6c0a07cc40ed | — |
| sha256:7a0a629943c12fac9eb042aac400a3763efa81cde298fc4f41afc55ba657c2dc | 20230201 | — |
| wolfi | 20230201 | — |
| wolfi-baselayout | 20230201-r30 | MIT |
| wolfi-baselayout | 20230201-r30 | MIT |
| wolfi-baselayout | 20230201-r30 | — |
| wolfi-baselayout.yaml | a4472f6292a5e48d6d611bf24c6e119b1a483e66 | Apache-2.0 |
0 fixable
| CVE | Severity | Package | Installed | Fixed in |
|---|---|---|---|---|
| GO-2026-5932 | Unknown | golang.org/x/crypto | v0.57.0 | — |
Everything is verifiable without an account. Copy and run:
Build provenance (SLSA v1.0, Build L2)
gh attestation verify oci://ghcr.io/rtvkiz/minimal-postgres-exporter:latest --owner rtvkiz Cosign signature
cosign verify \
--certificate-identity-regexp='https://github.com/rtvkiz/minimal/' \
--certificate-oidc-issuer='https://token.actions.githubusercontent.com' \
ghcr.io/rtvkiz/minimal-postgres-exporter:latest SBOM attestation (SPDX)
cosign verify-attestation --type spdxjson \
--certificate-identity-regexp='https://github.com/rtvkiz/minimal/' \
--certificate-oidc-issuer='https://token.actions.githubusercontent.com' \
ghcr.io/rtvkiz/minimal-postgres-exporter:latest \
| jq -r '.payload | @base64d | fromjson | .predicate' Signatures are logged in the public Rekor transparency log.
More Observability images
Weighing this against another provider? The comparison pages publish head-to-head scan data with the raw dataset, including the images where Minimal comes off worse — or read the migration guide for what actually breaks when you switch.