PolarDB for PostgreSQL

PolarDB for PostgreSQL

阿里云自主研发的云原生数据库


通过 Docker 快速使用

拉取 PolarDB for PostgreSQL 的 单机实例镜像open in new window,运行容器并试用 PolarDB-PG:

# 拉取镜像并运行容器
docker pull polardb/polardb_pg_local_instance:11
docker run -it --rm polardb/polardb_pg_local_instance:11 psql
# 测试可用性
postgres=# SELECT version();
            version
--------------------------------
 PostgreSQL 11.9 (POLARDB 11.9)
(1 row)
# 拉取镜像并运行容器
docker pull registry.cn-hangzhou.aliyuncs.com/polardb_pg/polardb_pg_local_instance:11
docker run -it --rm registry.cn-hangzhou.aliyuncs.com/polardb_pg/polardb_pg_local_instance:11 psql
# 测试可用性
postgres=# SELECT version();
            version
--------------------------------
 PostgreSQL 11.9 (POLARDB 11.9)
(1 row)