Sign inSign up
Patroni

dhi.io/patroni

Patroni

CIS
FIPS
STIG
linux/amd64
linux/arm64

A template for PostgreSQL High Availability with Etcd, Consul, ZooKeeper, or Kubernetes.

Image

pushed 31 minutes ago

View image detail
Platforms

linux/amd64, linux/arm64

Size

170.15 MB

for linux/amd64

Packages

194

for linux/amd64

Support

Active support

Tools included

patroni, patronictl

What's includedWhy it matters
SLSA Provenance

Build Level 3

Tamper-evident proof of how and from what sources this image was built. Build Level 3 is the highest the SLSA build track defines.

SBOM

CycloneDX SBOM + SPDX SBOM

A software bill of materials in both CycloneDX and SPDX formats so it drops straight into your existing tooling. Audit exactly what you're shipping.

VEX

A Vulnerability Exploitability exchange document, Docker's assessment of which CVEs actually affect this image and which don't apply, so you can focus on real risk instead of chasing false positives.

DHI Image Sources

Available

A link to everything used to build the image, package source code, Git repos, and build files, so you can audit or reproduce the build and stay compliant with open source licenses.

CVEs
1
7
9
15
3

Every known vulnerability in this image, shown in full rather than hidden. The VEX data flags which ones actually apply, so you can tell real exposure from noise before you ship.

Changelog

Exactly what changed in this build, down to the package bumps and fixes behind the version you're pulling.

Secrets scan

Verifies no keys, tokens, or credentials were accidentally baked into the image.

Virus scan

The image layers were scanned for known malware signatures before publishing.


About Patroni

Patroni is a template for PostgreSQL high availability. It runs alongside a PostgreSQL instance and uses a distributed configuration store (Etcd, Consul, ZooKeeper, or Kubernetes) to elect a primary, promote replicas on failure, and keep cluster topology consistent. The patronictl command-line tool lets operators inspect cluster state, trigger manual failover or switchover, and reload or restart members.

This image bundles Patroni with a Docker Hardened PostgreSQL base, giving each cluster member a single self-contained runtime: the Postgres binaries, the Patroni daemon, and the most common DCS client libraries (etcd3, Kubernetes) plus the psycopg3 PostgreSQL driver. Configure Patroni via PATRONI_* environment variables or a YAML config file mounted into the container; the image does not include a configuration of its own.

For more information, visit https://github.com/patroni/patroni⁠ and https://patroni.readthedocs.io⁠.

About Docker Hardened Images

Docker Hardened Images are built to meet the highest security and compliance standards. They provide a trusted foundation for containerized workloads by incorporating security best practices from the start.

Why use Docker Hardened Images?

These images are published with zero-known CVEs, include signed provenance, and come with a complete Software Bill of Materials (SBOM) and VEX metadata. They're designed to secure your software supply chain while fitting seamlessly into existing Docker workflows.

Trademarks

PostgreSQL® is a trademark of PostgreSQL Community Association of Canada. All rights in the mark are reserved to PostgreSQL Community Association of Canada. Any use by Docker is for referential purposes only and does not indicate sponsorship, endorsement, or affiliation.

Patroni is open-source software distributed under the MIT License. Use by Docker is for referential purposes only and does not indicate sponsorship, endorsement, or affiliation.