tianon/docker-postgres-upgrade
a PoC for using "pg_upgrade" inside Docker -- learn from it, adapt it for your needs; don't expect it to work as-is! observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 97
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3753
- days_rel: n/a
- days_push: 20
- n_releases_24m: 0
Adoption not part of the score
1383 stars · 128 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Docker image that wraps PostgreSQL's pg_upgrade tool to upgrade database data directories between major PostgreSQL versions. Tags follow an OLD-to-NEW version format and it is explicitly a proof-of-concept meant to be adapted rather than used as-is.
Use cases
- upgrade postgres data directory from version 17 to 18 in docker
- run pg_upgrade without installing multiple postgres versions locally
- migrate dockerized postgresql database to a new major version
- in-place major version upgrade of a self-hosted postgres container
- upgrade postgres volume data using --link for faster pg_upgrade
When to choose
- you run PostgreSQL in Docker and need a major version upgrade
- you want a minimal, adaptable pg_upgrade wrapper image
- your data directory layout can be mounted into the container
When to avoid
- you need a fully supported turnkey upgrade tool with guarantees
- you run PostgreSQL outside Docker or on managed services
- you expect it to work unmodified for arbitrary directory layouts
Facets
cli-tool · maturity active
database deployment developer-tools databases self-hosted cross-platform postgresql pg-upgrade docker-image database-migration shell devops containers docker linux
5 sources
- readme: https://github.com/tianon/docker-postgres-upgrade · fetched 2026-08-28 · 28e312eb5eb2
- homepage: https://hub.docker.com/r/tianon/postgres-upgrade/ · fetched 2026-08-29 · 513b9d1f1d19
- site_page: https://docs.docker.com/docker-hub · fetched 2026-08-29 · caaa18892709
- site_page: https://www.docker.com/docs · fetched 2026-08-29 · aeada2272712
- site_page: https://www.docker.com/company · fetched 2026-08-29 · 05ab59b2bc29
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tianon/docker-postgres-upgrade | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="tianon/docker-postgres-upgrade")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem