Start a local database and run your first query in a few minutes.
Complete static guides: Docker quickstart · Linux packages quickstart.
These are standalone quickstarts, not commands customized from this URL. Choose the guide matching your environment. The interactive selector loads separately.
Requires Docker and an available port 10260. Replace both credential placeholders before running.
The image sends usage telemetry by default. Add -e DOCUMENTDB_USAGE_TELEMETRY=false before the image name to turn it off. What is sent · Privacy statement
Wait for === DocumentDB is ready === in docker logs documentdb, then follow the Docker quickstart to connect and verify.
Requires a supported Linux host, sudo and internet access. These commands use the moving latest channel and detect host architecture. For an existing installation, upgrade in place instead.
Firewall port 10260 before setup: the gateway listens on all interfaces. Setup asks for an admin password and starts a private PostgreSQL instance.
Check sudo documentdb-setup --status, then follow the Linux packages quickstart for connection, first-query verification, troubleshooting and cleanup.
GitHub release assets have individual DEB/RPM files and checksums. Install the matching package set together:
To pin a version, list what is available first. APT and RPM use different version syntax, and individual subpackages can carry different version strings. Use the version reported for documentdb-18.
Other OS and PostgreSQL combinations are build-on-demand; see the packaging guide. Ubuntu 22.04, Debian, EL8, and PostgreSQL 16 were retired in v0.116.
Stuck? Docker quickstart · Linux quickstart · Linux operations and troubleshooting