You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,13 +54,12 @@ For more information, see [Architecture](https://apsaradb.github.io/PolarDB-for-
54
54
55
55
## Quick Start with PolarDB
56
56
57
-
If you have Docker installed already,then you can pull the instance image of PolarDB for PostgreSQL based on local storage. Create, run and enter the container, and use PolarDB instance directly:
57
+
If you have Docker installed already,then you can pull the instance image of PolarDB-PG based on local storage. Create, run and enter the container, and use PolarDB-PG instance directly:
58
58
59
59
```bash
60
-
# pull the instance image from DockerHub
61
-
docker pull polardb/polardb_pg_local_instance
62
-
# create, run and enter the container
63
-
docker run -it --rm polardb/polardb_pg_local_instance psql
60
+
# pull the instance image and run the container
61
+
docker pull polardb/polardb_pg_local_instance:11
62
+
docker run -it --rm polardb/polardb_pg_local_instance:11 psql
Pull the [local instance image](https://hub.docker.com/r/polardb/polardb_pg_local_instance/tags) of PolarDB for PostgreSQL based on local storage. Create and run the container, and try PolarDB-PG instance directly:
13
13
14
+
:::: code-group
15
+
::: code-group-item DockerHub
16
+
17
+
```bash:no-line-numbers
18
+
# pull the instance image and run the container
19
+
docker pull polardb/polardb_pg_local_instance:11
20
+
docker run -it --rm polardb/polardb_pg_local_instance:11 psql
21
+
# check
22
+
postgres=# SELECT version();
23
+
version
24
+
--------------------------------
25
+
PostgreSQL 11.9 (POLARDB 11.9)
26
+
(1 row)
27
+
```
28
+
29
+
:::
30
+
::: code-group-item Alibaba Cloud ACR
31
+
14
32
```bash:no-line-numbers
15
-
# pull the instance image from DockerHub
16
-
docker pull polardb/polardb_pg_local_instance
17
-
# create and run the container
18
-
docker run -it --rm polardb/polardb_pg_local_instance psql
0 commit comments