Skip to content
Evergreen Evergreen
Documentation

PostgreSQL image major versions 13 and older are end-of-life

End of life as of 2025-11-13. Replacement: A postgres image on a supported major version (the upgrade needs a dump/restore or pg_upgrade). Source: PostgreSQL versioning policy.

Check a version:

evergreen check pkg:docker/library/postgres

The PostgreSQL project no longer releases fixes for these major versions.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status End of life
Severity high
Ecosystem container
Component pkg:docker/library/postgres
Affected versions vers:semver/<14.0.0
Date from the source 2025-11-13
Replacement A postgres image on a supported major version (the upgrade needs a dump/restore or pg_upgrade)
Evidence last seen 2026-10-16
Reviewed 2026-10-16 by arminazimi
Review due 2027-10-16 (365 days after the last review)
Rule ID container.postgres.eol-13-and-older

Sources

Migration

Constraints

  • A major PostgreSQL upgrade does not reuse the old data directory: the data must be dumped and restored, or migrated with pg_upgrade, before the new image can start on it.
  • Check extensions, client libraries, and any init scripts against the target major version, and take a backup first.

Steps

  1. Update the base image. Change the reported FROM line or Compose image to a tag on a supported release line, and pin it to a digest if your policy requires.
  2. Align other image references. Update other Dockerfiles, Compose files, CI service containers, and deployment manifests that use the same image so they agree.

Verification

  • docker compose config: Validate the Compose file after changing the image tag.
  • docker compose run --rm db postgres --version: Confirm the database container runs the intended major version (service name may differ).

Detected by

The container detector. See Detectors and Compatibility.

Other versions of this product

Same ecosystem

Data

This page is generated from registry/container.json, rule container.postgres.eol-13-and-older, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated