home | title | heroImage | footer |
---|---|---|---|
true |
Documentation |
/images/polardb.png |
Apache 2.0 Licensed | Copyright © Alibaba Group, Inc. |
Pull the local instance image of PolarDB for PostgreSQL based on local storage. Create and run the container, and try PolarDB-PG instance directly:
:::: code-group ::: code-group-item DockerHub
# pull the instance image and run the container
docker pull polardb/polardb_pg_local_instance:11
docker run -it --rm polardb/polardb_pg_local_instance:11 psql
# check
postgres=# SELECT version();
version
--------------------------------
PostgreSQL 11.9 (POLARDB 11.9)
(1 row)
::: ::: code-group-item Alibaba Cloud ACR
# pull the instance image and run the container
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
# check
postgres=# SELECT version();
version
--------------------------------
PostgreSQL 11.9 (POLARDB 11.9)
(1 row)
::: ::::