Sign inSign up
Harbor DB

dhi.io/harbor-db

Harbor DB

CIS
FIPS
STIG
linux/amd64
linux/arm64

Harbor DB is the PostgreSQL database component used by the Harbor container registry for persistent storage of metadata, users, projects, and policies. It ships Harbor-specific initialization and upgrade scripts on top of PostgreSQL 14 and 15.

Image

pushed 1 day ago

View image detail
Platforms

linux/amd64, linux/arm64

Size

74.77 MB

for linux/amd64

Packages

123

for linux/amd64

Support

Active support

Tools included

postgres, psql, pg_dump, pg_restore, pg_upgrade

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
0
0
1
1
1

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 Harbor DB

Harbor DB is the PostgreSQL database component of the Harbor container registry — a CNCF-graduated open-source project for storing, signing, and scanning container images. This image provides a drop-in replacement for the upstream goharbor/harbor-db image, shipping Harbor-specific initialization, upgrade, and healthcheck scripts on top of PostgreSQL 14 and 15. Harbor uses the database for persistent storage of project metadata, user accounts, access policies, audit logs, and schema migrations.

This image includes both PostgreSQL 14 and 15 to support in-place database upgrades from older Harbor releases. On first start, the entrypoint initializes a fresh PostgreSQL 15 cluster and creates the registry database with a schema_migrations table. When an existing PostgreSQL 14 data directory is detected, the entrypoint automatically performs a pg_upgrade to PostgreSQL 15.

This image is purpose-built for Harbor deployments and is not a general-purpose PostgreSQL image. It is designed to be used as a component within a full Harbor installation, whether deployed via Docker Compose or Kubernetes.

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 near-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

Harbor™ is a trademark of the Cloud Native Computing Foundation (CNCF). PostgreSQL® is a registered trademark of the PostgreSQL Community Association of Canada.