PolarDB for PostgreSQL, Alibaba Cloud's open source PostgreSQL distribution, running as a single node database on local storage with 93 extensions already compiled in.
PolarDB for PostgreSQL is Alibaba Cloud's open source PostgreSQL distribution, released under the Apache License 2.0 over PostgreSQL 17. It is not an extension bolted onto stock PostgreSQL: it is a fork with its own storage manager, PolarVFS, its own replay machinery, LogIndex, and its own instrumentation surface. Ask the running server what it is and it answers "PostgreSQL 17.10 (PolarDB 17.10.1.0 build accf02e2)". Because PostgreSQL 17 is underneath, everything you already know applies unchanged, and every existing driver connects without knowing it is talking to anything unusual. This image is the single node, local storage deployment, which upstream ships, documents and supports as a first class shape: upstream's own configuration sample enables local filesystem mode, upstream's own initialiser lays the cluster out for it, and upstream publishes a dedicated container image for exactly this configuration. The engine is unmodified and the storage layout is PolarDB's real shared storage layout, with the heap, catalogue, WAL and LogIndex all living in the PolarDB data directory and reached through PolarVFS with direct I/O. It simply sits on a local filesystem rather than on shared block storage. What one node cannot give you is the multi node half of PolarDB: no read only replicas over one copy of the data, no cross node failover, and no shared storage parallel query across nodes. All three need more than one machine, and the listing says so rather than implying otherwise. What one node does give you is the PolarDB engine, its storage layer, its instrumentation, and 93 extensions already compiled and ready, including pg_cron, pgaudit, pg_partman, pg_repack, pg_hint_plan, pg_squeeze, pg_profile, hll, roaringbitmap, ip4r and pase.
A database image that ships with a password is a database image with a published password. This one ships with no database at all. There is no cluster, no role and no configuration in the captured image: initdb itself runs on your machine at your first boot, generating this VM's superuser and application passwords from the kernel random source and writing them to a root only file. Four upstream defaults that would otherwise ship an insecure database are actively overridden and then proved dead three separate times, at build, at first boot and again on a freshly launched VM: upstream's build script initialises with trust authentication, appends a rule accepting md5 passwords from anywhere on the internet, ships a configuration sample that listens on every interface with md5 password encryption, and offers a transparent encryption mode keyed with a hard coded string. None of them survives. PostgreSQL is bound to loopback and reached over an SSH tunnel, so the only inbound port the offer advertises is SSH, and the guide is explicit about restricting the network security group to your own address range if you later choose to expose the database. The engine will not even start without this VM's own credentials and a hardened configuration: a start time guard checks both and refuses otherwise, and that refusal is demonstrated during the build by hiding the credentials file and by injecting a world open trust rule. PolarDB has no Ubuntu package, so the image is compiled from the exact upstream commit, which is stamped into the binary and returned by a SQL query so you can verify on your own VM which source produced your engine. Every dependency the image ships is enumerated and licence checked by a gate that fails the build closed, and the resulting inventory ships with the image.