Download DocumentDB

Choose Docker for the fastest local setup, or Linux packages for managed host installations. The generated package commands configure the PostgreSQL dependency repositories and install the packages required by DocumentDB.

GPG Signed PackagesDocker + Linux PackagesAMD64 + ARM64

1. Choose your install method

2. Copy and run this command

Docker
docker run -dt --name documentdb \
  -p 10260:10260 \
  ghcr.io/documentdb/documentdb/documentdb-local:latest \
  --username <YOUR_USERNAME> \
  --password <YOUR_PASSWORD>

Starts DocumentDB locally on port 10260 for quick evaluation and development.

Full package catalog (all supported combinations)
FormatDistributionsArchitecturesPostgreSQL versionsPackage naming
APTUbuntu 22.04/24.04, Debian 11/12/13amd64, arm6416, 17, 18 (Debian 11: 16, 17)postgresql-<pg>-documentdb
RPMRHEL 8/9, Rocky, AlmaLinux, CentOS Streamx86_64, aarch6416, 17, 18postgresql<pg>-documentdb

Use Package Finder above to generate the exact command for your selected target instead of scanning all combinations manually.

Debian 13 packages are available in the deb13 APT component and remain downloadable as direct .deb assets from GitHub Releases.

Version pinning and listing available versions

Use the commands below to discover available versions before pinning. Replace <VERSION> with the version string shown by the list command (e.g. 0.109-0 for APT, 0.109.0-1.el9 for RPM).

APT — list then pin

apt-cache madison postgresql-16-documentdb
sudo apt install postgresql-16-documentdb=<VERSION>

RPM — list then pin

dnf --showduplicates list postgresql16-documentdb
sudo dnf install postgresql16-documentdb-<VERSION>

See all releases and release notes on GitHub Releases.

Direct package downloads

Individual .deb and .rpm files are attached to each release on GitHub. Recent release examples:

ubuntu22.04-postgresql-18-documentdb_0.109-0_amd64.deb
deb13-postgresql-18-documentdb_0.109-0_amd64.deb
rhel9-postgresql18-documentdb-0.109.0-1.el9.x86_64.rpm

Swap the distribution, PostgreSQL version, architecture, and version string to match the exact asset you need.

Browse releases on GitHub →
Troubleshooting quick checks
sudo apt update && apt search documentdb && apt-cache policy postgresql-16-documentdb documentdb_gateway
sudo dnf clean all && dnf search documentdb && rpm -qi postgresql16-documentdb documentdb-gateway
sudo systemctl status documentdb-gateway --no-pager && sudo journalctl -u documentdb-gateway --no-pager -n 20

3. Connect and try it

After you run documentdb-setup and the gateway is listening on port 10260, follow one of these guides to make your first connection.